impersonation
Is .NET impersonation logon thread-safe?
If using code like the following to impersonate another user, [DllImport(\"advapi32.dll\", SetLastError = true)][详细]
2023-01-18 12:13 分类:问答Trying to write file to UNC from ASP.NET MVC
I have some code running in an asp.mvc app inside IIS 7. The code is supposed to save a file to a UNC share.[详细]
2023-01-16 16:14 分类:问答Creating file in a user context in powershell
I am trying to create a file using pow开发者_开发技巧ershell in a specific user context. E.g I have a user user01 on my local machine and I want to create a file in its context.[详细]
2023-01-16 10:12 分类:问答How to impersonate a WellKnownSidType?
I know I can impersonate a windows account using: http://msdn.microsoft.com/en-us/library/chf6fbt4.aspx[详细]
2023-01-15 07:50 分类:问答Can I create a new process in web service using delegated impersonation context?
I\'ve written an ASP.NET 2.0 web service which is consumed by a web application which goes out and gets configuration data back from newly built win2k3 servers in a large enterprise. I am using kerber[详细]
2023-01-15 05:05 分类:问答User impersonation with asp.net forms authentication
I\'ve written a small ASP.NET 3.5 application to allow users to update selected account attributes on their own.[详细]
2023-01-14 05:10 分类:问答C# - Running a new process as a user with blank password
I have a child proc开发者_JS百科ess I spawn from my main application that needs to be run as another local user on a Windows 7 machine.I would prefer to not set a password on that user account, but it[详细]
2023-01-13 14:31 分类:问答impersonation via token stored in a cookie
I want to开发者_如何学Python know more about win32 LogonUser api function. The last parameter is a token which can be used to impersonate a windows identity to execute code on a person\'s behalf. Say[详细]
2023-01-12 20:32 分类:问答UNIX equivalent of CreateProcessWithLogonW
What I have: the login/password for a UNIX user (alice). Who I am: some other UNIX user (bob). What I need to do: start a process programmatically (foo) as the other user (alice).[详细]
2023-01-08 15:23 分类:问答Accessing mapped drives when using impersonation
We are using impersonation by using the LogonUser function from advapi32.dll along with the WindowsIdentity class to perform impersonation.[详细]
2023-01-08 14:51 分类:问答