coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: Jonboy on February 08, 2006, 12:22:57 AM

Title: Directory permissions/hidden directories
Post by: Jonboy on February 08, 2006, 12:22:57 AM
Hi, maybe I looking at the problem from the wrong angle, If I have setup private albums, which would be only viewable by registered users of a certain group, which works fine.

But I have noticed that you can still get around the privacy issue by just listing the directory, eg http://example.org/albums/Family views all the images that are meant to be private, is there a way around this, I tried chmoding the directories, but that just broke the links to the images.

Is this something I could handle within the .htaccess file.

Thanks for looking at my problem.
Title: Re: Directory permissions/hidden directories
Post by: Tranz on February 08, 2006, 12:24:12 AM
Disable index listing either in cpanel or add the code in .htaccess. It's like one line.
Title: Re: Directory permissions/hidden directories
Post by: Jonboy on February 08, 2006, 12:43:30 AM
excellent solved it in one, I thought it wouold be simple.

Thanks v. much TranzDance