Tom Rogers

My personal and technology blog
Logo

Free Example: Simple Secure Webpage

Posted on 14/08/11

in

Free Example: Simple Secure Webpage 4.7/5(93%) 3 votes

When starting out in web development, writing a fully-functional application can feel very daunting. For that reason, I’m offering up the source code for a project that I previously created to password protect a webpage using PHP. You can customize it and use it for whatever you want.

Some Notes

In order to have this work correctly, you’ll need to be running PHP on the server you put it on. Also, keep in mind that this method of securing a page is far from foolproof and is just for the purpose of being a learning experience.

Download Project Files

Chime In and Give Your Thoughts

Comment Posting Guidance

For the benefit of every non-spambot visiting, following a recent site restructuring I have some rules with regard to etiquette for comment posters. As well as making a better experience for all, they help to distinguish real people for automatic evil machine spam. Due to this, any comment that fails to follow any one of them will be considered spam and removed as soon as possible.

With thanks, Tom

  • Coherent English must be used.
  • This form has multiple fields for a reason. Only enter a real name or nickname in the first box i.e. "Boats For Sale" wouldn't make it. Similarly, the "Website" input is a pre-determined place to post one link so there is no need to have them in the body area. This is a common technique used by spammers and marketers and, as such is not allowed.
  • Your comment must be directly related to the post to which it is a response. The idea of a post commenting system is to further the conversation that began in the given article. For instance "great post" is not a comment. My contact form can be used for suggestions or general communications.
  • Responses to other comments must be civilised.
  • No sexual reference or content is allowed.
  • Duplicate comments are a no-no.