Join the DZone community and get the full member experience.Join For Free
// Bare Bones demo of password protection
A Page that is password protected
The page with all the secrets revealedThis is the information that has been revealed to you because you got the password right!
Although this is a very simple demo it shows what you can do with just a few lines of PHP.
A Header pageThere is a page hidden under a password at this URL. For this demo only I will tell you that the password is "abc123" so you can try it out!
YOU GOT THE PASSWORD WRONG
Well House Consultants, 2007
Opinions expressed by DZone contributors are their own.