Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
We'll need to create an area that can only be accessed by the site administrators. There we will manage the web site. We'll achieve this by creating an ‘Admin’ folder, which will contain all of our administration pages. This folder will be secured by allowing access only to members who have an ‘Admin’ role. Let's start by creating that role.
Open the Databases workspace in the WebMatrix IDE. In the Navigation pane, open the webpages_Roles table in the TechieTogsData.sdf database. Add a new record, inserting the value ‘Admin’ into the RoleName field (see Figure 11-1). The RoleId field is an identity field that is automatically populated by the database, so do not enter a value in this column.