Re: asp.net: changing logon time to get LOGON32_LOGON_NETWORK_CLEARTEXT ?

From: Brian C (anonymous_at_discussions.microsoft.com)
Date: 11/27/03

  • Next message: Randy Charles Morin: "Re: Response redirect Doesnt Work"
    Date: Wed, 26 Nov 2003 18:27:46 -0800
    
    

    Yury,
    mode="Windows" will not insure that the the app will
    impersonate under the user. However, this will:

    <identity impersonate="true" />

    It is likely that the users are using the local ASPNET
    user.

    Brian

    >-----Original Message-----
    >Err, I meant to say "logon type" in subject :)
    >
    >"Juri Zenkevitch" <yury@altiris.ee> wrote in message
    >news:#D7jIsBtDHA.3744@TK2MSFTNGP11.phx.gbl...
    >> Hi All !
    >>
    >> I get into the problem... My web application, which
    uses authentication
    >> mode="Windows", so the app will impersonate under the
    user, which access
    >> it's pages. In the application, I do use
    >> "Microsoft.Win32.RegistryKey.OpenRemoteBaseKey", which
    fails, because the
    >> app identity was (probably) logged on w/out the
    NETWORK_CLEARTEXT flag
    >> (LogonUser).
    >>
    >> So, the question is: can I change that flag somehow for
    current
    >application
    >> identity ? I can not do the LogonUser, because my
    server-side code do not
    >> have the password for user, only it's identity (token)
    in Principal
    >> object...
    >>
    >> Any ideas ?
    >>
    >> Thank you,
    >>
    >> Yury.
    >>
    >>
    >
    >
    >.
    >


  • Next message: Randy Charles Morin: "Re: Response redirect Doesnt Work"

    Relevant Pages

    • Re: can a .NET app get access to a shared doc in SPS?
      ... >> I would suggest that you provide an ASP.NET app that allows the user to ... >> using the primary key from Oracle into a document library in Sharepoint ... >> your ASP.NET app would impersonate a domain account that has write ...
      (microsoft.public.sharepoint.portalserver.development)
    • Re: SQL2k3 connectivity problems
      ... I want one user that my app is running under. ... IIS is configured to use this user for anonymous. ... Why wouldn't ASP.Net just follow the rules, and impersonate ... > Why are you using integrated security in an ASP.NET app? ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: Network permissions for w3wp.exe?
      ... There is a function on the Microsoft support site that allows you to ... impersonate a specific user in code. ... user, access the share, then switch back. ... > I have an ASP.NET app that is running on a W2k3 DC. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Impersonation
      ... Try to identify wether it fixes a problem or not - add ASP.NET and IUSR account to local ... When machine.config says "System" the app works. ... | set to "machine" it prangs with "unable to impersonate". ...
      (microsoft.public.dotnet.framework.aspnet.security)