I agree with David, if you really don't want anybody to have direct
access to it, don't put it in the webroot.

That said, you can have files in a particular folder in your web site
that you deny access to by using the .htaccess file.

You deny the whole directory, specific files, or even set it up to
require authentication. Look at the Apache site, or Google how to do
this.

On Nov 19, 5:01 am, bookme <[EMAIL PROTECTED]> wrote:
> Can I do it providing permission chmod -R 711 to this folder on linux
> server...
>
> I try it...it's working but don't know is it secure or not?
>
> Please tell me what should I do ?
>
> On Nov 17, 12:43 pm, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote:
>
> > You'd do this on the server side by setting file system permissions or
> > with .htaccess directives (hardly a Cake question).
> > The better thing to do though would be to not put it in the webroot to
> > begin with, if it's not supposed to ever be accessed.
>
> > On 17 Nov 2008, at 16:33, bookme wrote:
>
> > > Hi,
>
> > > I am working on aflashapplication usingXML.Flashfile andXMLis
> > > inside webroot folder. I want to apply permission   onXMLfile so
> > > that no body can accessXMLfiles because theseXMLfiles contains
> > > some secrete data.
>
> > > Please tell me how can I apply permissions on webroot/flash/xmlfolder
> > > so that no body can access or viewxmlfiles.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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