You are here: Re: Password protect a folder not a page « All PHP « IT news, forums, messages
Re: Password protect a folder not a page

Posted by finalwebsites.com on 01/25/06 10:50

©® wrote:
> I know you can password protect a webpage but is it possible to protect
> a folder on a website e.g. /www/myown/ that only has other files in it
> and not any html files?
> Am thinking of storing a few personal files I may need access to when
> travelling and may not always have a USB memory key or other media
> available.
> Any help/tips/suggestions appreciated.
>
> Can use PHP on the server if that means anything.

Hello,

Protect the folder with .htaccess and open the file for each user while
php file functions.

check the download function on this page:
http://www.finalwebsites.com/snippets.php?id=10

regards Olaf

 

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

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