Page 1 of 1

password protected directory?

Posted: Mon Jul 02, 2012 7:21 pm
by wvoyance
How do I make a whole directory passwrod protected?
Morrison's book told me how to protect a file by checking $_SERVER[...]

But how do I make a whole directory protected?

Thanks.

Re: password protected directory?

Posted: Mon Jul 02, 2012 8:40 pm
by Christopher
Look into Basic HTTP Authentication.