Ask a Question related to ASP.NET Security, Design and Development.
-
Konrad #1
Enabling privileges of machine\ASPNET account
hello
i'm trying to execute external application which copies .exe file to a new
..exe file with changed PE header, i'm doing this via ASP.NET, authentication
must be anonymous (specific user is set), so when i DuplicateTokenEx and
CreateProcessAsUser ASPNET user is used for this purpose (if i'm wrong pls
let me know)
i granted SeRestorePrivilege and SeTakeOwnership and
SeAssignPrimaryTokenPrivilege (is it of any use ?) to ASPNET account, in
sysinternals process viewer these privileges are disabled, when i
AdjustTokenPrivileges in my code for hToken of ASPNET (not duplicated token)
to enabled them i do still see it in sysinternals ProcessViewer as disabled,
what am i doing wrong ?
when i AdjustTokenPrivileges for hDuplicatedToken (after DuplicateTokenEx)
executed application doesn't do the job (dont even know if it was actually
executed) and GetLastWin32Error is 1307 (This security ID may not be assigned
as the owner of this object. ERROR_INVALID_OWNER) this could be due to these
privileges weren't actually enabled, should sysinternals ProcessViewer show
them as enabled ?
any help appreciated
thanks, Konrad
Konrad Guest
-
How to run aspnet with system account
Hi, I'm running ClrProfiler for the first time to profile my web app, and it keeps getting stuck at this msg box: "Waiting for Asp.net to start... -
Using LogonUser API in ASP.net with an account other than ASPNet account
I am trying to use the LogonUser API function from ASP.Net. This works fine on my machine which is Windows XP but fails with error code 1314 on... -
ASPNET Account
I needed to go to my user accounts when I discovered this aspnet machine account.I didn't know where it came from so I deleted the account. Now I... -
The password for the ASPNET account
this set the account aspnet_wp.exe will run under, and thus the default account for all asp.net pages. you have three options 1) use the local... -
ASPNET user account
It says web applications run using the ASPNET user account. The SQL database administrator will have to set up this account and grant it...



Reply With Quote

