Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Integrated Authentication and SQL Server Access
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Securité
Titre:
Integrated Authentication and SQL Server Access
Divers
Thread ID:
00789004
Message ID:
00789004
Vues:
68
I am writing a ASP.net application. I have configured Web.Config to use Windows Authentication with Impersonation as follows:
authentication mode="Windows"
identity impersonate="true"

When I try to connect to my SQL database, it's trying to connect as the ASPNET user. That user does not have any rights to connect to my database (nor do I want to give them any rights).

I have done a lot of reading on the Identity and Principal classes, but still don't understand how to tell SQL server what user has been authenticated for my connection.

I know I must be missing something really obvious, I just can find it. Any ideas?

Mary Hintermeier (through Chris D'Arrigo)
RSA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform