Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NT athuntication for ASP.NET and SQL Server

Status
Not open for further replies.

aky1234

Programmer
Jun 8, 2005
24
US
Hi,
Right now the the users are using basic authentication for loging into webpages and sql server authentication to access data base..My idea is to use just one WindowsNT authentication for both the web login and sql server..that is if the user is authenticated using windowsNT on the webpage ,he should be able to access DataBase aswell...How this Could be accomplished ??
 
Hi,
Right now the users are authenticated using basic authentication for loging into webpages and sql server authentication to access data base..My idea is to use just one WindowsNT authentication for both the web login and sql server..that is if the user is authenticated using windowsNT on the webpage ,he should be able to access DataBase aswell...How this Could be accomplished ??
 
Three things you'll need to do:

1. IIS - configure for "Integrated Windows authentication".

2. Web.config - change to use impersonation

3. SQL box - config to use "Integrated Windows authentication" for database.

HtH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top