There is also a screen for setting the appearance of the login screen and the contents of the error page that a user will see if he/she accesses a secure page without having logged in. In addition there are several analytic utilities for analyzing the security of a site you build.
Here is how WebBuild Password Security works on a site that has been configured using the WBPS program:
Login
The site contains two JavaScript files, created by the WBPS program, for each password set. The first (passwordsetname.PWD1.js) includes hidden information about each user who is authorized to access secure pages on the site.
The second file (passwordsetname.PwFuncts.js) contains the functions for validating passwords entered by users.
These two files are referenced by the JavaScript code that you copy from the Step 3 screen into your Login page. When a user name and password are entered, the code calls the functions in PwFuncts.js and determines whether the password entered is valid. If a valid user name/password combination was entered, the program writes a cookie on the user's browser indicating that he/she has been authenticated and takes the user to the designated secure page. If unsuccessful, the user is presented with an error message ("Invalid User Name/Password").
Secure Pages
The WBPS program creates two files on the Web site for each password set. The first (passwordsetname.DestVal.js) contains the functions for validating whether the visitor to the page is a user authenticated for the password set. The second (passwordsetname.PwdError.htm) is a HTML page containing an error message.
When a visitor accesses a secure page, a JavaScript program checks that he/she has a cookie indicating a successful login. If the cookie is found, the contents of the page are displayed. If the cookie is not found, the visitor is redirected to the error page.
|
|