Saturday, November 17, 2012

Re: How to hide "img" folder?

OK, thanks I used:
Options All -Indexes

On Saturday, 17 November 2012 20:18:23 UTC, MaJerle.Eu wrote:
Put this in htaccess:


Options -Indexes


If it's not good, make index.html file so it will open this file if someone add '/img' to the link..
--
Lep pozdrav, Tilen Majerle



2012/11/17 Daniel <danw...@gmail.com>
On my server space I have my "img" folder in the "public_html" folder.  The problem is that its contents can be viewed by going to my website and adding "/img" to the URL.  How can I hide this folder?
 
Thanks.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake...@googlegroups.com.
To unsubscribe from this group, send email to cake-php+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: