Article ID: 325877 - Last Review: December 3, 2007 - Revision: 10.4 How to control access to a database on a Web server in Windows Server 2003This article was previously published under Q325877 On This PageSUMMARY This step-by-step article describes several methods that
you can use to control access to a database that is published on a Microsoft
Internet Information Services (IIS) 6.0-based Web server. Use security features in the databaseYou can use 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 has access to a database, you can use password protection for that database connection. To view security-related information in Microsoft SQL Server, search for "security" in SQL Server Books Online. Control access by using the data source name for a database management systemThe data source name (DSN) that you create on the Web server is used by an external program or by an Active Server Pages (ASP) page to refer to the database that you want to publish on your Web site.To view the DSN password settings for a database management system such as Microsoft SQL Server, follow these steps:
Use NTFS file system permissions to restrict access to files or to foldersYou can use Microsoft Windows Server 2003 NTFS file system permissions to restrict access to certain folders and to certain files in your Web.For additional information about how to use NTFS permissions to control access to files and to folders in your Web site and other methods you can use to help secure your Web, click the following article number to view the article in the Microsoft Knowledge Base: 306011
(http://support.microsoft.com/kb/306011/
)
FP 2000: 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 put your database results pages or put your ASP pages that refer to the database in a subweb that contains unique permissions.For additional information about how to create a subweb and how to assign unique permissions, click the following article number to view the article in the Microsoft Knowledge Base: 301432
(http://support.microsoft.com/kb/301432/
)
HOW TO: Create a subweb and add permissions using FrontPage 2000
Use an appropriate Web server authentication methodUse an appropriate Web server authentication method for users who try to obtain access to 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 with SQL Server authentication.REFERENCES For additional
information about how to connect to a database through IIS, click the following
article number to view the article in the Microsoft Knowledge Base: 258939
(http://support.microsoft.com/kb/258939/
)
Recommendations for connecting to databases through Internet Information Services
For additional information about SQL Server
security, visit the following Microsoft Web sites: SQL Server 2000 SP3 security features and best practices http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sp3sec00.mspx
(http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sp3sec00.mspx)
Security considerations for SQL Server http://msdn2.microsoft.com/ms161948(en-US,SQL.90).aspx
(http://msdn2.microsoft.com/ms161948(en-US,SQL.90).aspx)
APPLIES TO
| Article Translations
|
Back to the top
