Page 1 of 1

hiding upload folder content

Posted: Tue May 28, 2013 9:59 am
by JiiPee
Hi, CMSMS seems to hide content in the default folders, like uploads and images. So if I open url "http://www.mysite.com/uploads/images, it don't show files that are inside there.

But if I create another folder, lets say uploads/myfiles, that content will be visible in url "http://www.mysite.com/uploads/myfiles.

Is there a way to crate new upload folders so that their content will not be visible in related url?

Re: hiding upload folder content

Posted: Tue May 28, 2013 10:18 am
by Rolf
Uploads and CGSmartImage module will help

Re: hiding upload folder content

Posted: Tue May 28, 2013 5:53 pm
by Wishbone
put an empty index.html in your new directory.

Re: hiding upload folder content

Posted: Tue May 28, 2013 6:33 pm
by Rolf
Wishbone wrote:put an empty index.html in your new directory.
Ahh, that is what he means ;)
You can also add Options -Indexes to your root .htaccess file. It will block browsing of the folders

Grtz. Rolf