Restricting page access to authorized users
The last step to password protecting pages is adding the Restrict Access to Page server behavior to individual pages so that only authorized users can access those pages. The server behavior redirects the user to another page if the user attempts to bypass the login page by typing the protected page's URL in a browser.
If you want to give many pages on your site the same access rights, you can copy and paste access rights from one page to another.
Note: The Restrict Access To Page server behavior can only protect HTML pages. It does not protect other site resources such as image files and audio files.
You can add a link to the protected page that lets a user log out and clears any session variables. For more information, see "Logging out users" in Using UltraDev or in Dreamweaver UltraDev Help (Help > Using UltraDev).
To redirect unauthorized users to another page:
1 |
Open the page you want to protect. |
2 |
In the Server Behaviors panel (Window > Server Behaviors), click the plus (+) button and choose User Authentication > Restrict Access To Page from the pop-up menu. |
|
The Restrict Access To Page dialog box appears. |
 |
|
|