You should be aware that this doesn't protect the files themselves in
any way. If a user knows, or can guess, the name of a file that exists
within that directory they can still browse directly to it.

On Feb 22, 8:23 am, "bingo" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks for all your reply. I think putting .htaccess is better than
> puttin index.html. This is because I will have multiple folders 
> insidefilesdirectory. If I use index.html then I will need to put
> index.html in all the sub directory too. However, If I just put
> one .htaccess in thefilesdirectory, it can control browsing
> behaviour for all the subdirectory too.
>
> Regards,
> Ritesh
>
> On Feb 22, 7:05 am, "John" <[EMAIL PROTECTED]> wrote:
>
> > Hi
>
> > Or just add a blank index.html file to thefilesdirectory - people
> > trying to browse will just see a blank page - and of course you can
> > edit the file to show whatever you want.
>
> > John


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to