Directory permissions/hidden directories Directory permissions/hidden directories
 

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

Main Menu

Directory permissions/hidden directories

Started by Jonboy, February 08, 2006, 12:22:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jonboy

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.

Tranz

Disable index listing either in cpanel or add the code in .htaccess. It's like one line.

Jonboy

excellent solved it in one, I thought it wouold be simple.

Thanks v. much TranzDance