Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Problem with admin - anyone can see it  (Read 2806 times)

0 Members and 1 Guest are viewing this topic.

comdawg

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Problem with admin - anyone can see it
« on: February 20, 2007, 05:24:40 pm »

I noticed that if a regular visitor comes to my Coppermine site and doesn't register, if he/she knows the admin file name (which they could if they just downloaded their own CP) they can just go into Admin without logging in.  If they try to save a new config it says they can't, but I don't want them to see those options at all.  Is there a way to make it so if you just type in the path to admin.php it will force you to log in if you aren't?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with admin - anyone can see it
« Reply #1 on: February 21, 2007, 09:47:21 am »

Is there a way to make it so if you just type in the path to admin.php it will force you to log in if you aren't?
When a non-admin user tries to access the config page (http://yoursite.tld/your_coppermine_folder/admin.php), all he sees is
Quote
You don't have permission to access this page.
If this is different for your site, then post a link to your coppermine-driven gallery.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.