Reply to Re: Downloading from a directory not in the server's path?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация