Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How to prevent users from directly accessing/seeing userpics thru url address  (Read 3249 times)

0 Members and 1 Guest are viewing this topic.

jorpetz

  • Coppermine newbie
  • Offline Offline
  • Posts: 1

How to prevent users from directly accessing/seeing http://mywebsite.com/gallery/albums/userpics/1001 thru the url address on the browsers url box.
Logged

onthepike

  • Guest

You can turn off directory list browsing if your host allows such configuration via your control panel (not supported here) or add the handler within your base .htaccess file (again, not supported here). Or you can simply place an index.html file (with or without a redirect) inside any folder that doesn't otherwise contain any variety of "index." and you're done.

Best option? Copy the gallery/albums/index.php file to any userpics folder you wish.

Any further support will require you to furnish your gallery link, as per board rules.

Hope this helps.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.