If the password does not match case or is invalid the material
on the page is secured.
This is poor man's simple security. You want to use something
robust for sensitive information. This will keep most out, but
probably not the ones you really wanted to stay away. You want
to add another script to protect the source of your files, too.