Re: Impersonate NT user from Anonymous login
From: Shawn H. Mesiatowsky (smesiatowsky_at_spam_no_perfectfit-ind.com)
Date: 02/03/05
- Next message: Karl Seguin: "Re: Nested repeater with 3 levels"
- Previous message: G Dean Blake: "Re: Assembly directive not working"
- In reply to: ajamrozek: "Impersonate NT user from Anonymous login"
- Next in thread: ajamrozek: "Re: Impersonate NT user from Anonymous login"
- Reply: ajamrozek: "Re: Impersonate NT user from Anonymous login"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 3 Feb 2005 16:11:12 -0700
Can the IT department make the IIS server a Domain member? if it is a domain
member then you should be able to authenticate with user: domain\username
"ajamrozek" <ajamrozek@msn.com> wrote in message
news:1107457671.645716.143710@f14g2000cwb.googlegroups.com...
>I have an ASPX page that needs to display data from an Access DB that
> resides on a network resource other than the running server. To access
> the web page itself, I need IIS to have anonymous login set to true,
> but to access the Access DB I need to pass an authenticated network
> user. Not for the DB's sake but for the network directory that it
> resides on.
> Some more environment background: large company with tight server
> control. I don't directly work for the IT dept., so I need to make
> this as easy on IT as possible. Meaning, I can't do any server
> configuration (IIS settings or machine.config) and can not store my
> database on the server. Everything needs to be run from the .Net
> project.
> I've tried the following methods with no success:
> 1. <identity impersonate="true" userName="domain\Username"
> password="password"/>
> fails because this user is not setup on the machine running IIS and
> I won't be able too.
> 2. set the User name and password in IIS anonymous access config to
> the authenticated user. will not work because I will not be able to
> edit these values in production.
> 3. attempted to use API's from MS's KB
> failed because it uses tokens based on the current user, which
> returned 0 for the token so the impersonation never executes.
>
> thanks,
> Alex Jamrozek
>
- Next message: Karl Seguin: "Re: Nested repeater with 3 levels"
- Previous message: G Dean Blake: "Re: Assembly directive not working"
- In reply to: ajamrozek: "Impersonate NT user from Anonymous login"
- Next in thread: ajamrozek: "Re: Impersonate NT user from Anonymous login"
- Reply: ajamrozek: "Re: Impersonate NT user from Anonymous login"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|