Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS+SQL using Integrated Windows Authentication

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Related Topics:
Integrated Windows Authentication - Double Hits - Looking at the IIS 6 log files we have noticed that for every click a user makes for a resource, 2 hits (and thus 2 round trips to the server) are made: 1) Anonymous request with response status 401 RESPONSE Header is: HTTP/1.1 401

Integrated Windows Authentication - Hi, I'm trying to find out if anyone knows if it is possible to check if this setting is checked in IE. This setting is located here: 1. In Internet Explorer, select Tools > Internet Options. 2. Click the Advanced tab. 3. Scroll down to the

Integrated Windows Authentication - I am using Windows to protect a directory on a web server. All clients connect and using MSIE using W2k or better. It works fine inside my LAN, and on some other places outside my LAN, but on some computers when I..

IIS And Integrated Windows Authentication. - I have tried searching for this but was unable to find anything. I was just wondering if you set the IE User Logon to Prompt for user name and password. And set up an IIS web site to Windows Can you still..

IE/IIS and Integrated Windows Authentication - I have searched the groups and wasn't able to find an answer. I have a Windows XP machine, not on a domain or active I have IIS running on the system. When I setup and web to Windows and..
Next:  Loading a flash player to the user system.  
Author Message
Liu Feng

External


Since: Dec 05, 2005
Posts: 2



(Msg. 1) Posted: Mon Dec 05, 2005 4:55 am
Post subject: IIS+SQL using Integrated Windows Authentication
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi, All

I'm using the Integrated Windows Authentication both of IIS and SQL.
The two server are not based on the same machine.
My ASP.NET application using the "SERVER=LIUFENG2;DATABASE=CESRS;INTEGRATED
SECURITY=SSPI;POOLING=TRUE" to connect SQL, and trun on "<identity
impersonate="true" />" in Web.config.

I got the message "Login failed for user '(null)'." when
SqlConnection.Open().

The two way I found to resolve that:
1. <identity impersonate="true" userName="someone" password="********" />
2. Operate with Active Directory to allow delegate for client.

Any more answers for the "double-hop"?

--


Thanks,
LiuFeng
MSN Messenger: blindlf.TakeThisOut@hotmail.com

 >> Stay informed about: IIS+SQL using Integrated Windows Authentication 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 3041



(Msg. 2) Posted: Tue Dec 06, 2005 1:55 am
Post subject: Re: IIS+SQL using Integrated Windows Authentication [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Other options:

a) Use Basic Authentication + SSL

Cheers
Ken


"Liu Feng" <blind.l.f RemoveThis @yeah.net> wrote in message
news:uyDtxcX%23FHA.252@TK2MSFTNGP15.phx.gbl...
: Hi, All
:
: I'm using the Integrated Windows Authentication both of IIS and SQL.
: The two server are not based on the same machine.
: My ASP.NET application using the
"SERVER=LIUFENG2;DATABASE=CESRS;INTEGRATED
: SECURITY=SSPI;POOLING=TRUE" to connect SQL, and trun on "<identity
: impersonate="true" />" in Web.config.
:
: I got the message "Login failed for user '(null)'." when
: SqlConnection.Open().
:
: The two way I found to resolve that:
: 1. <identity impersonate="true" userName="someone" password="********" />
: 2. Operate with Active Directory to allow delegate for client.
:
: Any more answers for the "double-hop"?
:
: --
:
:
: Thanks,
: LiuFeng
: MSN Messenger: blindlf RemoveThis @hotmail.com
:
:

 >> Stay informed about: IIS+SQL using Integrated Windows Authentication 
Back to top
Login to vote
Liu Feng

External


Since: Dec 05, 2005
Posts: 2



(Msg. 3) Posted: Tue Dec 06, 2005 3:55 am
Post subject: Re: IIS+SQL using Integrated Windows Authentication [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Basic authentication will work with IIS+SQL, but it is not safety for user's
password. The password will be send by plain text(NOT with SSL).

I want to another ......

--


Thanks,
LiuFeng
MSN Messenger: blindlf.TakeThisOut@hotmail.com


"Ken Schaefer" <kenREMOVE.TakeThisOut@THISadOpenStatic.com> wrote in message
news:%23tfFjxi%23FHA.264@tk2msftngp13.phx.gbl...
Other options:

a) Use Basic Authentication + SSL

Cheers
Ken


"Liu Feng" <blind.l.f.TakeThisOut@yeah.net> wrote in message
news:uyDtxcX%23FHA.252@TK2MSFTNGP15.phx.gbl...
: Hi, All
:
: I'm using the Integrated Windows Authentication both of IIS and SQL.
: The two server are not based on the same machine.
: My ASP.NET application using the
"SERVER=LIUFENG2;DATABASE=CESRS;INTEGRATED
: SECURITY=SSPI;POOLING=TRUE" to connect SQL, and trun on "<identity
: impersonate="true" />" in Web.config.
:
: I got the message "Login failed for user '(null)'." when
: SqlConnection.Open().
:
: The two way I found to resolve that:
: 1. <identity impersonate="true" userName="someone" password="********" />
: 2. Operate with Active Directory to allow delegate for client.
:
: Any more answers for the "double-hop"?
:
: --
:
:
: Thanks,
: LiuFeng
: MSN Messenger: blindlf.TakeThisOut@hotmail.com
:
:
 >> Stay informed about: IIS+SQL using Integrated Windows Authentication 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 3041



(Msg. 4) Posted: Tue Dec 06, 2005 5:55 pm
Post subject: Re: IIS+SQL using Integrated Windows Authentication [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you use SSL, the password will be encrypted.

Otherwise, there aren't any other solutions.

Cheers
Ken


"Liu Feng" <blind.l.f.DeleteThis@yeah.net> wrote in message
news:OCmzp0j%23FHA.3104@TK2MSFTNGP15.phx.gbl...
: Basic authentication will work with IIS+SQL, but it is not safety for
user's
: password. The password will be send by plain text(NOT with SSL).
:
: I want to another ......
:
: --
:
:
: Thanks,
: LiuFeng
: MSN Messenger: blindlf.DeleteThis@hotmail.com
:
:
: "Ken Schaefer" <kenREMOVE.DeleteThis@THISadOpenStatic.com> wrote in message
: news:%23tfFjxi%23FHA.264@tk2msftngp13.phx.gbl...
: Other options:
:
: a) Use Basic Authentication + SSL
:
: Cheers
: Ken
:
:
: "Liu Feng" <blind.l.f.DeleteThis@yeah.net> wrote in message
: news:uyDtxcX%23FHA.252@TK2MSFTNGP15.phx.gbl...
:: Hi, All
::
:: I'm using the Integrated Windows Authentication both of IIS and SQL.
:: The two server are not based on the same machine.
:: My ASP.NET application using the
: "SERVER=LIUFENG2;DATABASE=CESRS;INTEGRATED
:: SECURITY=SSPI;POOLING=TRUE" to connect SQL, and trun on "<identity
:: impersonate="true" />" in Web.config.
::
:: I got the message "Login failed for user '(null)'." when
:: SqlConnection.Open().
::
:: The two way I found to resolve that:
:: 1. <identity impersonate="true" userName="someone" password="********" />
:: 2. Operate with Active Directory to allow delegate for client.
::
:: Any more answers for the "double-hop"?
::
:: --
::
::
:: Thanks,
:: LiuFeng
:: MSN Messenger: blindlf.DeleteThis@hotmail.com
::
::
:
:
:
 >> Stay informed about: IIS+SQL using Integrated Windows Authentication 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]