Re: CreateProcessWithLogonW Switching User Credential

From: Ash (anonymous_at_discussions.microsoft.com)
Date: 10/31/03

  • Next message: tedo: "Gina And XP"
    Date: Thu, 30 Oct 2003 20:01:28 -0800
    
    

    Chuck you are correct in saying that there is nothing to
    Revert back to in the case of "CreateProcessWithLogonW".
    However, when you initially use this function
    with "LOGON_NETCREDENTIALS_ONLY" option, a different set
    of credentials are used to access NETWORK resources. The
    process that gets created with this function INHERITS
    credentials of the LOGGED ON user TOO. Therefore, you can
    access resources that LOGGED ON USER + NET LOGON USER can
    access.

    What I want to do is access network resources that ONLY
    LOGGED ON USER can access, that is, switch ON/OFF NET
    LOGON USER credentials to use network resources.

    IMPERSONATION cannot be used due to the introduction
    of 'SeImpersonatePrivilege' that inhibits 'Impersonation'
    by user belonging to 'USER' group account. And, the
    software must be able to run under any group account.

    I would greatly appreciate your thoughts on this.


  • Next message: tedo: "Gina And XP"

    Relevant Pages

    • Re: Windows Media Edition 2003
      ... While you can access network resources on a work network or a domain, you cannot join a Windows XP ... Media Center 2005 PC to the domain. ...
      (microsoft.public.frontpage.client)
    • Re: Windows Media Edition 2003
      ... Cool idea...but something that can already be accomplished with a regular XP Pro 'puter? ... | While you can access network resources on a work network or a domain, you cannot join a Windows XP ... |> web application server and use it to host ASP locally. ...
      (microsoft.public.frontpage.client)
    • Re: Specs for an E510. Anyone want to comment?
      ... Can I connect a new PC running Windows XP Media Center Edition 2005 to a work network or domain? ... While you can access network resources on a work network or a domain, you cannot join a Windows XP Media Center Edition 2005 PC to the domain. ...
      (alt.sys.pc-clone.dell)
    • Certificates
      ... I wish to configure remote clients to only access network resources ... if they have a certificate installed (I plan to use Windows 2003 Enterprise ...
      (microsoft.public.windows.server.general)
    • Certificates
      ... I wish to configure remote clients to only access network resources ... if they have a certificate installed (I plan to use Windows 2003 Enterprise ...
      (microsoft.public.win2000.advanced_server)