Impersonation

Discussion in 'ASP .Net Security' started by Viorel Ghilas, Feb 24, 2005.

  1. Hi all

    I have webserver that share common services and i set in web config
    <identity impersonate="true" /> and on IIS I set specific user account that
    will be used. The main problem that when the IIS start applicaton and
    execute the methods from Global.asax.cs it use ASPNET account but not my,
    after that it switch to impersonate account. But in my situation I use WSE2
    where I need to check password in UsernameTokenManager for that I need to
    connect to DB, but I use SSPI connection (with user from impersonate) that
    fail. How to solve this problem, I need trusted connection that use my user
    from IIS. I need only one user everywhere, how to do that in
    UsernameTokenManager.AuthenticateToken(UsernameToken token) to use
    impersonate account ?

    with best reagrd
    Viorel
    Viorel Ghilas, Feb 24, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kelly D. Jones

    Problem with impersonation and delegation

    Kelly D. Jones, Sep 4, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,812
  2. Pramod

    Impersonation code

    Pramod, May 12, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    2,650
  3. Raymond Basque

    Re: ASP.NET Fails after SP4 with Impersonation

    Raymond Basque, Jun 27, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    512
  4. Bassel Tabbara [MSFT]

    RE: ASP.NET Fails after SP4 with Impersonation

    Bassel Tabbara [MSFT], Jun 27, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    494
    Michael Kennedy [UB]
    Jun 28, 2003
  5. Hidulf
    Replies:
    1
    Views:
    442
    Michael Kennedy [UB]
    Jun 30, 2003
Loading...

Share This Page