You are here: Re: Downloading from a directory not in the server's path? « PHP Programming Language « IT news, forums, messages
Re: Downloading from a directory not in the server's path?

Posted by Jerry Stuckle on 11/04/06 16:28

solly@nine.com wrote:
> 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)

But this isn't a PHP question. It's apache configuration, so try
alt.apache.configuration. You'll get better help.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this 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

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