Re: protecting a directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
In a message dated 8/14/2005 10:54:57 A.M. Central Standard Time,  
jennymat@xxxxxxxxx writes:

>hello,
>i want to protect a directory using php username and  password 
>authentication.the username and passwords will be stored in  .htpasswd 
>file.but the problem is that how to make user to enter  passwod before 
giving 
>the rights to view directory. is there any  script like this.or can anybody 
>help me  out.
>thanks,
>Jenny.


You can use an .htaccess file or - if you have something like cPanel on a  
shared hosting environment you can use the "password protect directories" and  
make it even easier... 
 
here's a good Tutorial on using Apache for this: 
_http://phpnerds.com/article/securing-php-files-using-http-authentication_ 
(http://phpnerds.com/article/securing-php-files-using-http-authentication) 

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux