Re: Transmission of Username & Password?



MaxGruven wrote:

Is the Username and Password specified in the Connection String of an
ASP.NET
application transmitted to an SQL Server 2005 send as clear text from the
IIS
Server?

The reason I asked is our IT department has mandated that all
username/passwords be encrypted when sent from one server to another
within
our corporate intranet in case someone is running a sniffer.

If so, what strategy might be employed in order to meet this requirement??

It seems like using Integrated Security in the connection string might
work?
but how can I be sure there is not username/password sent?

An Encrypted Connection (Encrypted=True) seems expensive and requires a
server certificate.

My understanding of Windows Authentication with SQL Server is that the
credentials are not sent to SQL Server, only the token created when Windows
authenticated the user. The token identifies the user and their group
memberships.

When Windows authenticates a user, the password is hashed at the client and
the hash value is sent to Active Directory. The AD database does not save a
cleartext copy of the password, only the one-way hash value. It is this hash
value that the client sends to the Domain Controller for authentication. The
DC returns the token using SSL.

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--


.



Relevant Pages

  • Re: Credentials not being passed with remote access
    ... allowed windows authentication to work, ... I had assumed johnx was a domain user rather than a local Windows account. ... johnx was set up as a local login on sql server. ...
    (microsoft.public.sqlserver.security)
  • Re: asp.net sql trusted connections between machines
    ... > connect to a remote SQL Server instance w/ Read-Write permissions. ... > connection string in the web.config. ... > Windows Authentication setting for access via IIS doesn't seem pass the ... is this impersonation behavior with IIS and Windows Authentication ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Very basic login question
    ... In order to use Windows Authentication the two computers have to be members of the same domain or trusted domains. ... you should have a login at the SQL Server on the XP Pro workstation. ...
    (microsoft.public.sqlserver.security)
  • Re: How to install and configure SQL Server 2005 on Net work and s
    ... database to backend and then link all table from front Access database to ... we never allowed user can login to sql server to do any thing, ... Each user they required Windows Authentication when they open they won ... install the sql server. ...
    (microsoft.public.sqlserver.security)
  • RE: Secure Logins for SQL Server 2000 on Novell Netowrk
    ... all the traffic to and from the client ... Is there a way I can use Windows authentication on the SQL server? ... you have to duplicate usernames and passwords on the machines. ...
    (microsoft.public.sqlserver.security)