| |  | Setting Up Access Control for the Server Root Domain Summary of Steps | Steps in Detail - Determine which access control records you must use to control access to the data in the server root domain. To control access to data in a specific directory, place access control records in the DIRMAP file for the directory. To set up common access control procedures for several directories, place access control records in an ACCESS file.
- Determine which access control records you must use to control access to the data in the server root domain.
- To control acess to data in a specific directory, place access control records in the DIRMAP file for the directory.
Place the access control records after all directory control records in the DIRMAP file. The access control records in a DIRMAP file control access to data in the current directory. What the current directory is depends on how you serve data: - To set up common access control procedures for several directories, place access control records in an ACCESS file.
To point to the ACCESS file, place a SKIP TOFILE access control record in the DIRMAP file for a directory. For example, the server root domain is defined as a minidisk. The SERVER ACCESS file contains the access control procedures for all data in the server root domain: VMWEBSRV DIRMAP ------------------------ DIR RULES RULES FILE LIST.HTML LIST HTML * Access Control Records SELECT +------ SKIP TOFILE SERVER CURDIR | END SELECT | | RULES DIRMAP | -------------------------------- | * Directory Control Records | FILE FOOTBALL.HTML FTBLRULE HTML | FILE SOCCER.HTML SCCRRULE HTML | | * Access Control Records | SELECT +------ SKIP TOFILE SERVER CURDIR | END SELECT | +---->SERVER ACCESS -------------------------------- SELECT WHEN IP 199.8.29.* ALLOW END SELECT |