Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > double hop issue? Not sure anymore

Reply
Thread Tools

double hop issue? Not sure anymore

 
 
reezaali@gmail.com
Guest
Posts: n/a
 
      01-25-2006
Hi all

I have an issue which goes something like this

I have a web app that accesses a SQL Sever. I use AD for my users. In
SQL i have assigned my users to various roles etc....not SQL users but
AD users.

my web app uses identity impersonation = true and i have disabled
anonymous access in IIS

I have a development environment with XP, IIS5 and ver 1.1 of
framework. The web app works fine and shows my results.


I have a win2k server with IIS 5 on it and when i deploy my app to this
machine, which is part of the domain and IIS is configured the same
way, I get what seems to be the double hop issue. So i have ensured
that the anonymous access is diabled in IIS and integrated security is
turned on. the machine is part of the domain. I have installed the sql
client tools on the web server....no matter what i do i cannot access
SQL server...it keeps giving me the Login failed for user 'NT
AUTHORITY\ANONYMOUS LOGON'. error. I checked the user name of the
person accessing the page by using
System.Security.Principal.WindowsIdentity.GetCurre nt().Name and the
username is being written out however when this information passes to
SQL i still get the anonymous user error...

Can you please help me with this issue? I am really at a loss here...

Thank you.
Reeza

 
Reply With Quote
 
 
 
 
Dominick Baier [DevelopMentor]
Guest
Posts: n/a
 
      01-25-2006
Hi,

there are some more things to take into consideration - i guess you only
tested locally on your WinXP machine - this is technically not delegation
- thats why it probably worked...

read more here:
http://msdn.microsoft.com/msdnmag/is...s/default.aspx

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

> Hi all
>
> I have an issue which goes something like this
>
> I have a web app that accesses a SQL Sever. I use AD for my users. In
> SQL i have assigned my users to various roles etc....not SQL users but
> AD users.
>
> my web app uses identity impersonation = true and i have disabled
> anonymous access in IIS
>
> I have a development environment with XP, IIS5 and ver 1.1 of
> framework. The web app works fine and shows my results.
>
> I have a win2k server with IIS 5 on it and when i deploy my app to
> this machine, which is part of the domain and IIS is configured the
> same way, I get what seems to be the double hop issue. So i have
> ensured that the anonymous access is diabled in IIS and integrated
> security is turned on. the machine is part of the domain. I have
> installed the sql client tools on the web server....no matter what i
> do i cannot access SQL server...it keeps giving me the Login failed
> for user 'NT AUTHORITY\ANONYMOUS LOGON'. error. I checked the user
> name of the person accessing the page by using
> System.Security.Principal.WindowsIdentity.GetCurre nt().Name and the
> username is being written out however when this information passes to
> SQL i still get the anonymous user error...
>
> Can you please help me with this issue? I am really at a loss here...
>
> Thank you.
> Reeza



 
Reply With Quote
 
 
 
 
reezaali@gmail.com
Guest
Posts: n/a
 
      01-27-2006
Thank you Dominick.....excellent article....the delegation solved our
problem....

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is this not allowed anymore (anymore being with a more recent compiler)? Eric Lilja C++ 4 11-06-2006 12:31 PM
cannot convert parameter from 'double (double)' to 'double (__cdecl *)(double)' error Sydex C++ 12 02-17-2005 06:30 PM
Can BackImageUrl cause a double hop? Jim Corey ASP .Net 2 07-27-2004 08:16 PM
Double Hop Issues - Steve - ASP .Net 2 06-28-2004 08:40 PM
Re: Windows Auth -- double hop issue?? Ken Schaefer ASP .Net 0 04-07-2004 08:08 PM



Advertisments