This class can be used to restrict the access to Web pages requiring user password authentication.
The class provides several means to authenticate users either using fixed pairs of user names and passwords or lookup MySQL database table with a given SQL query to lookup for accepted user names and passwords.
It supports redirecting to a given page for unauthorized users.
It can also be used having a multiple stage login requirement for additional security.