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

From: Juri Zenkevitch (yury_at_altiris.ee)
Date: 11/26/03


Date: Wed, 26 Nov 2003 14:55:29 +0200

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.



Relevant Pages

  • Re: ASP.NET Forms Authentication & LogonUser API
    ... Did you impersonate the token you received as a result of the call to ... current thread's security context execute as the returned token. ... I am using both of above in my ASP.Net app. ... To use the LogonUser API i have to add the ASPNET account to the Local ...
    (microsoft.public.dotnet.security)
  • Re: opening files on file shares with different username/passwords
    ... you can impersonate that user and try and open the file. ... LogonUser(), ImpersonateLoggedOnUser. ... > users using the app access to the share just my app. ...
    (microsoft.public.win32.programmer.networks)
  • Re: LogonUser from ASP.NET
    ... privileges), this attempt to elevate privileges will fail. ... > the impersonization since i call impersonate in the COM+ component. ... > obtained from the LogonUser and then calling Impersonate from ASP.NET ... What should I change in the config file to allow ASP.NET app ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: LogonUser from ASP.NET
    ... COM+ to call LogonUser to get the token handle. ... The exception that I get while trying to call Impersonate from the ASP.NET ... app is the SecurityException. ... > SecurityException or some other type of exception? ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Cross domain exchange server access, popup boxes....
    ... LogonUser/ImpersonateLoggedOnUser or run your app as an admin to be able to ... > exchange server and access the data. ... > windows service so a popup box won't fly at all. ... > LogonUser system call to impersonate the user that can access the ...
    (microsoft.public.win32.programmer.messaging)