This script is used to protect certain pages of a website from being accessed by the general public. This script uses sessions and a mysql database to restrict access. This system is ideal if the restricted pages will only need to be accessed by several people and is not a complete user registration system, if that is what you need check our Complete User Registration Script.