Posted by solly on 11/04/06 12:57
In article <1162457687.087294.77120@h48g2000cwc.googlegroups.com>,
alex.habar.nam@gmail.com says...
> Well, you can protect the files from direct access by adding in your
> .htaccess file:
> <FilesMatch "whateveryouwannaprotect">
> Order deny,allow
> Deny from all
> </FilesMatch>
>
> Say you wanna protect all the files with the .ext extension. I guess
> that'll look like:
> <FilesMatch "\.(ext)$">
> Order deny,allow
> Deny from all
> </FilesMatch>
>
Can this be done so that all files in a directory can only be
read/written to copied moved or otherwise got at by php and apache
and nothing else (appart from ftp access to edit them) ?
I'm confused completely by the .htaccess language !
------------Solly-------------------------
"Oh yeah I remember (I just cant remember what it is I forgot)
[Back to original message]
|