Article ID: 313077 - Last Review: October 30, 2006 - Revision: 7.2 How To Control Access to a Database on a Web Server in Windows 2000This article was previously published under Q313077 On This PageSUMMARY
This article explains several methods that you can use to control access to a database published on an Internet Information Services (IIS) 5.0-based Web server. Use Security Features in the DatabaseUse the built-in security permissions of the database program or the database management system to control user access to the database. By using the integrated user authentication methods in your database, you can control access to the database with a fine level of granularity.When you use the Database Results Wizard in Microsoft FrontPage 2002 to create a Web page that accesses a database, you can employ password-protection on that database connection. To view security-related information in Microsoft SQL Server, start SQL Server Enterprise Manager. On the Help menu, click Help Topics, and then search on security. For more information about security-related information in Microsoft Access 2000 or Microsoft Access 2002, click Microsoft Access Help on the Help menu, type security in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned. Control Access by Using the Data Source NameThe Data Source Name (DSN) that you create on the Web server is used by an external program or Active Server Pages (ASP) page to reference the database that you want to publish on your Web site.To view the password settings for the DSN, use one of the following methods, as appropriate to your situation. For a Database ProgramTo view the DSN password settings for a database, such as Microsoft Access, follow these steps:
For a Database Management SystemTo view the DSN password settings for a database management system, such as Microsoft SQL Server, follow these steps:
Use NTFS Permissions to Restrict Access to Files or FoldersYou can use Windows 2000 NTFS permissions to restrict access to certain folders and files in your Web.For additional information about how to use NTFS permissions to control access to files and folders in your Web site, as well as other methods of securing your Web, click the article number below to view the article in the Microsoft Knowledge Base: 306011
(http://support.microsoft.com/kb/306011/EN-US/
)
Security Best Practices for FrontPage 2000
Use Subwebs to Restrict Access to a Section of the Web SiteWhen you use Microsoft FrontPage to create your Web, you can create security boundaries through the use of subwebs. In FrontPage, each subweb can maintain separate security settings. You can place your Database Results pages, or ASP pages that reference the database, in a subweb that contains unique permissions.For additional information about how to create a subweb and assign unique permissions, click the article number below to view the article in the Microsoft Knowledge Base: 301432
(http://support.microsoft.com/kb/301432/EN-US/
)
FP2000: How to Create a Subweb and Add Permissions
Use an Appropriate Web Server Authentication MethodUse an appropriate Web server authentication method for users that attempt to access your database. Database user authentication can depend on the protocol that is used for the database connection. For example, if you decide to use the Named Pipes default connection protocol for SQL Server, authentication of Windows user account credentials may occur, in addition to SQL Server authentication.For more information about how to work with the authentication features of IIS, click the following article number to view the article in the Microsoft Knowledge Base: 310344
(http://support.microsoft.com/kb/310344/
)
How To Configure IIS 5.0 Web Site Authentication
REFERENCESFor additional information about how to connect to a database through IIS, click the article number below
to view the article in the Microsoft Knowledge Base:
258939
(http://support.microsoft.com/kb/258939/EN-US/
)
Recommendations for Connecting to Databases Through Internet Information Services
For additional information about SQL Server security, browse to the following Microsoft Web site:
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sp3sec00.mspx
(http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sp3sec00.mspx)
For additional information about how to secure a Microsoft Access database, browse to the following Microsoft Web site:
http://www.microsoft.com/office/ork/2000/three/65t3.htm
(http://www.microsoft.com/office/ork/2000/three/65t3.htm)
| Article Translations
|
Back to the top
