Step 2 - Specifying the Security Database
In this step you store the security database key in your application's web.config file. The security database is the database you added security tables to in the previous step.
Note: You can skip this step if your application only uses a single database as specified in the <databases> node of the application configuration file, and the security tables are found in this database.
- Go to the Visual Studio Solution Explorer and double-click your web.config file.
- Scroll towards the bottom of the config file and set the SecurityDatabaseKey value to the database key of the database that contains (or will contain) your security tables (such as User, Role, Security).
For example:
<add key="SecurityDatabaseKey" value="Northwind" />
By default, the security business objects located in your ABusinessObject.cs or ABusinessObject.vb file (User, Role, Security, UserSecurity, RoleSecurity) use this database key to access data.
© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 08/31/06
Comment or report problem with topic
