Re: Please help Passing Credentials



Double hops are solved by implementing Kerberos delegation. I'd suggest
doing some reading on that. There are lots of good papers on the various MS
websites explaining it and I've answered the question in detail on this and
other newsgroups too. In fact, there is another thread that was just
started a few days ago that already launches into the details. Google is
your friend...

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"JOS" <JeremiahOSullivan@xxxxxxxxx> wrote in message
news:1164137895.231827.206100@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I am having problems passing Windows credentials to a HTTPRequest
object using ASP.NET 1.1

Here is my set up
Server 1
* ASP.NET 1.1 application
* Integrated Authentication Security
* <identity impersonate = true>
Server 2
* ASP Page
* Integrated Autentication Security

I am creating a HTTPRequest object in Server 1 and passing credentials
using System.NET.DefaultCredentials. The HTTPRequest object is calling
an ASP page on server 2 to submit some XML

If I log on to Server1 as a windows user, browse to the web application
and submit the page it works ok

If I log on to Server 2 as the same windows user, browse to the web
application on Server 1 and submit the page I get a 401 access denied
error

It looks like I am have problems with the double hop of the
credentials.

How can I get this to work, I have basic knowledge of Windows
networking so the simpler the better:)

Any help gratefully recevied



.



Relevant Pages

  • RE: Lotus Notes Database
    ... Click Start on the taskbar of the server running SharePoint Portal Server, ... > - Type the Notes user password again in the Confirm Password box. ... On the Specify Lotus NotesĀ® Owner Field to Windows User Name Mapping page: ... This is the Notes server that is hosting the view that maps Notes user names to Windows user names. ...
    (microsoft.public.sharepoint.portalserver)
  • About the samba share
    ... I hv setup the samba server on unix for windows user to access, ... password server = 192.168.11.1 ...
    (comp.os.linux.networking)
  • Re: Table permissions: No matter what I set all users have full access?
    ... I have created a new Windows user the ... logged on to another PC as that user and can still access the database with ... The new user does not have a login on the server and is ... I even created a login for the user and denied SELECT permissions on various ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Please help Passing Credentials
    ... I installed the tool from blunck.info and authentication seems o.k it ... However I still get the 401 error when constructing the HttpWebRequest ... Server 1 ... If I log on to Server1 as a windows user, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Help me!
    ... When you're exploring the data in BI Development Studio, the connection is ... to the database pointed to by your data source, you'll be able to see the ... However, when you deploy to an AS server, the connection is ... Or you can set it up to impersonate a specific Windows user ...
    (microsoft.public.sqlserver.datamining)