forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: jorpetz on June 23, 2010, 04:57:49 pm

Title: How to prevent users from directly accessing/seeing userpics thru url address
Post by: jorpetz on June 23, 2010, 04:57:49 pm
How to prevent users from directly accessing/seeing http://mywebsite.com/gallery/albums/userpics/1001 thru the url address on the browsers url box.
Title: Re: How to prevent users from directly accessing/seeing userpics thru url address
Post by: onthepike on June 23, 2010, 05:14:25 pm
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 (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616), as per board rules.

Hope this helps.