SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1305 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


12. If access levels should be evaluated as part of the authentication, choose the following:
n Restrict Access Based On Username, Password, and Access Level
n The data source field containing the access-level data from the Get Level From list.
13. Click OK when you??™re finished.
Restricting access
Now that you??™ve got your users added and logging in, you need to protect those pages that require authorized
access. These could be their user profile information or perhaps information they??™ve paid a subscription
to access. Dreamweaver provides two different types of access restriction. The first method just
determines if a user is logged in or not. The second includes restriction based on access levels defined in
your database.
To restrict access based on whether a user has logged in or not, follow these steps:
1. Open a dynamic page to which to restrict access.
2. In the Server Behaviors panel, click the Add (+) button and select User Authentication ??? Restrict
Access To Page. The Restrict Access To Page dialog box, shown in Figure 23-21, is displayed.
758
Incorporating Dynamic Data Part IV
FIGURE 23-21
Dreamweaver??™s Restrict Access To Page server behaviors enable you to restrict access to
sensitive parts of your site.
3. Choose the Username and Password radio button to restrict access to those users already logged in.


Pages:
1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317