This guide will step you through a simple protection script that you can use on your site. This assumes that you do not have the ability to use .htaccess which would be the preferred option. This is not a 100% secure solution and as such, you should not rely on any scripts like these to protect sensitive data such as credit card details. Basically all you are doing is protecting your pages from general viewing by allowing only people with permission to access those pages. |