Ask a Question related to ASP.NET Security, Design and Development.
-
chris #1
question on windows auth
Hi
I am working on an intranet application. I am using windows integrated authentication. Now since the authentication is done by active directory can I use a specified user name and password in my connection string and not SSPI? You see I created a user/login in sql server with minimum privledges
Thanks
chris Guest
-
Forms Auth Info passed to Windows Auth?
The requirement is to build an ASP.Net intranet application, so external users can log in to the main web portal via forms authentication, using... -
ASP.NET 2.0 - Windows Auth and Roles
Is it possible to use Windows authentication and the builtin role provider in ASP.NET 2 Beta 2? The intranet app I'm developing uses Windows... -
Configuring Windows Auth & Forms Auth in Asp.Net
Configuring Windows Auth & Forms Auth in Asp.Ne Hi, I've configured a web app to use windows authentication and also set up two separate... -
Windows Auth Problem
We're having a problem where our application is timing out after 60 minutes no matter what type of activity is occuring. A user can be in the... -
Windows Auth, MUST change password
If a user's password expires or an admin otherwise set the "user must change password" flag it appears that a user can no longer access the web... -
Ken Schaefer #2
Re: question on windows auth
Yes, and no.
The connection to SQL Server needs to be in the context of the calling user.
If you are using Windows Auth, that doesn't mean you need to use
impersonation of the authenticating user. You can have ASP.NET impersonate a
fixed identity instead (i.e. the fixed user you granted permissions in SQL
Server).
The easiest way to do this is just to set the <identity impersonate="true"
user="" password="" /> section in web.config.
Cheers
Ken
"chris" <anonymous@discussions.microsoft.com> wrote in message
news:A866CBB1-1BFA-4A57-B263-3DDCB6BE9A75@microsoft.com...
: Hi,
: I am working on an intranet application. I am using windows integrated
authentication. Now since the authentication is done by active directory can
I use a specified user name and password in my connection string and not
SSPI? You see I created a user/login in sql server with minimum privledges.
:
: Thanks
Ken Schaefer Guest
-
avnrao #3
Re: question on windows auth
i think you have created user/login in sql server to provide access to set
of objects (giving read/exec permissions right).
but do that only if your functionality demands. in this case you will not be
utilizing benefits of connection pooling.
use only one identity to connect to sql server.
Av.
"chris" <anonymous@discussions.microsoft.com> wrote in message
news:A866CBB1-1BFA-4A57-B263-3DDCB6BE9A75@microsoft.com...> Hi,
> I am working on an intranet application. I am using windows integrated
> authentication. Now since the authentication is done by active directory
> can I use a specified user name and password in my connection string and
> not SSPI? You see I created a user/login in sql server with minimum
> privledges.
>
> Thanks
avnrao Guest



Reply With Quote

