- On the Web Server, Right Click My Computer and select Manage
- On the Computer Management Window, expand the Local Users and Groups menu item
- Right Click the Users folder and select New User
- On the New User window, enter the information for the local account. (Remember to uncheck the “User must change password at next logon” checkbox). Click
Create - Back on the Computer Management window, right click the local account and select
Properties. On the Member of tab, click Add - On the Select Groups window, ensure that the From this Location field is the name of the Web Server then click the
Advanced button - On the next window, click Find Now. Select the IIS_WPG group and then click
OK. Click OK again to save the settings - Grant the newly created local account Modify access to the C:\WINDOWS\Temp folder
- In IIS, expand the Application Pools menu. Either create a new application pool or right click an existing one. Select
Properties and then the Identity tab - Select Configurable then Browse for the newly created account and enter the password twice for the account. Click
Apply and then OK - On the Directory tab of the Properties for the Website, in the Application Pool field select it to run using the application pool identified with the local account
- Repeat steps 1 through 4 to create a local account with the same User ID,Name, and Password on the SQL Server. This local account doesn’t need to a be a member of any groups
- Open SQL Server Management Studio
- Expand the Security menu for the server
- Right Click the Logins folder and select New Login
- Click the Search button and find the local account on the SQL server
- Map that account to the required database
- Grant the local account access to any tables or stored procedures
Friday, January 2, 2009
Configuring ASP.NET to use Integrated Security
Below are the steps for configuring Integrated Security for a ASP.NET application. These instructions are for Windows 2003 systems, one running IIS and the other SQL Server 2005.
Subscribe to:
Posts (Atom)