Impersonation is a process whereby an application assumes another identity or security context during execution.
Questions tagged [impersonation]
1522 questions
0
votes
0 answers
From a Windows Service running as LocalSystem, how to start a process as any local user without having the password?
I know that lot of similar questions have been posted, but without acceptable responses for me.
I have a Windows Service (in C#) running a Local System account. This service need to run processes with user accounts credentials (not only already…

Cédric
- 817
- 10
- 11
0
votes
1 answer
SharePoint 2010 with custom EditForm calling Lists web service - impersonation not working
I converted my development SP 2007 content db to SP 2010 using database attach method from a Win 2003 virtual machine to a Win 2008 VM. Everything worked fine on my old VM, and also works fine on our production server (SP 2010, Win 2008) that was…

KevinHou
- 151
- 1
- 2
0
votes
0 answers
Kerberos User Auth ASP/IIS/SQL Server: IIS to SQL Server Kerberos Connection issue
Setting up a small Proof of Concept project to establish a Kerberos Connection from IE8 to IIS 7.5 to SQL Server 2012, currently everything on the same server. I am using Windows Auth with impersonation as Auth user, running IIS App Pool and SQL…
0
votes
1 answer
Integrated Security with Impersonate=true / Connection String issue / ASP.NET
We have a website deployed with Impersonate=true.
A connection string is defined as this:
Integrated Security=SSPI;Persist Security Info=false;Initial
Catalog=MyDatabase;Data Source=MyServer;
I assume Persist Security Info is redundant as that…

pfeds
- 2,183
- 4
- 32
- 48
0
votes
1 answer
Impersonate for one request (Asp.net MVC)
In my ASP.net MVC project I've got (among other roles) moderators and users. I want to give the moderators the option to "see current page as user".
My approach is to create a ActionFilterAttribute and overload OnActionExecuting & OnResultExecuted…

Vulcano
- 415
- 10
- 25
0
votes
1 answer
Remote Service Administration
I am trying adminstrate a service on a different machine using a ServiceController.
var sc = new ServiceController(serviceName, machine);
Console.WriteLine(sc.Status);
As I need to use different credentials, I perform an…

Jaster
- 8,255
- 3
- 34
- 60
0
votes
2 answers
RavenDB domain error
I have set up an instance of RavenDB on IIS. I can connect to it just fine using a network service application, however when I try and connect then initialize using an application running under local administrator I get an error "Unable to determine…

busbina
- 549
- 1
- 7
- 19
0
votes
1 answer
Impersonate delegated windows account
I have 3-layers architecture: Client - Middle Tier - SQL.
I need to delegate client rights to access SQL server.
I made delegation between client - middle tier and it works fine (as I understand).
but middle tier - SQL server connection is over NTLM…

dr11
- 5,166
- 11
- 35
- 77
0
votes
2 answers
Why is a published website referencing my machine?
I have a website that I publish in Visual Studio 2008 and then send off to other people. One of the pages needs to alter a few configuration files, so an action is executed using WindowsImpersonationContext inside a class library referenced by the…

Brandon
- 68,708
- 30
- 194
- 223
0
votes
1 answer
Access network file via .NET Web App on IIS 7
I have been trying to use Windows Authentication to impersonate the current authenticated user who is accessing the web site hosted on IIS 7, but when I try to access a file on a separate server the log in requests are still appearing in the event…

GHollies
- 86
- 5
0
votes
1 answer
how to access content from intranet site from mvc application?
I have a MVC4 ASP.NET app that uses forms authentication. I have a view with an iframe that i want to show contents from a local intranet site that uses domain authentication. Users from the MVC website don't have access to the local server so i…

Fraposo
- 107
- 1
- 3
- 9
0
votes
1 answer
Issue with in hosting server
A month back I was implementing online payment in my project. While doing so I faced many barriers. Thanks to google and of-course StackOverflow I was able implement it successfully.
But recently(a week or two maybe) things changed. When I tried…

Ashwin A
- 115
- 2
- 3
- 11
0
votes
1 answer
Using ManagementObject or GetProcesses getting and impersonating a context
I want to create a windows service, and be able to impersonate a user that is logged into the box by grabbing the context, maybe through the getprocesses function or the ManagementObject code.
I don't have a password, but the user will be logged…

Jeffrey Kinzer
- 149
- 7
0
votes
1 answer
How to run application as another user from within an application
I have a kind of odd request- I have lots of users who run my application, and I need to be able to have the app know who is running it. This isn't a problem at all, and I am capturing this info just fine.
The trick is the application needs to…

Nicros
- 5,031
- 12
- 57
- 101
0
votes
1 answer
Remote impersonation with UAC
I have a tool written in C# which performs impersonation of users to perform administrative tasks on remote machines.
I have found that using LOGON32_LOGON_NEW_CREDENTIALS with LOGON32_PROVIDER_DEFAULT defeats UAC when impersonating the built-in…

Robin
- 698
- 6
- 25