impersonation Questions

2

Solved

So between the two machines, there is no trust - they are in different domains. I've successfully connected to the remote machine using LogonUser API using logon type, LOGON32_LOGON_NEW_CREDENTIAL...
Radiophone asked 26/5, 2010 at 20:6

1

I have this problem that happened once and I still don't know how to fix it. I have a windows service, when the service runs, it first need to impersonate the logged in user (active user) to load s...
Gaal asked 29/11, 2011 at 10:13

2

Solved

I'm trying to use Process.Start() under Impersonation, i have google for few days, most answer i come across was under ASP.net, but I'm developing for Window Application, so I'm having difficulty t...
Krumm asked 17/12, 2015 at 9:27

2

I am using HostingEnvironment.QueueBackgroundWorkItem to run work in the background of an ASP.Net application, based on Scott Hanselman's blog post How to run Background Tasks in ASP.NET. I'd like...
Ithaman asked 29/6, 2015 at 21:34

1

Solved

I try to create a contact folder in an other mailbox. Since Powershell can't do this I downloaded a c# sample over this MSDN site: https://code.msdn.microsoft.com/exchange/Exchange-2013-Create-35e...
Transcript asked 10/9, 2015 at 8:26

1

I do not have knowledge on Spring Impersonating user. I have gone through some sample code of configuration for impersonating user and noticed that SwitchUserFilter is used for this implementatio...
Sewole asked 13/7, 2015 at 6:57

3

Solved

Is there a way to tell my code to run as a different user? I am calling NetUserSetInfo via a PInvoke and I need to call it as a different user. Is there a way to do that?
Nucleon asked 22/7, 2009 at 22:7

2

Solved

I have an Action that needs to read a file from a secure location, so I have to use impersonation to read the file. This code WORKS: [AcceptVerbs(HttpVerbs.Get)] public ActionResult DirectDownloa...
Musing asked 15/4, 2010 at 12:48

3

I'm having a difficult time getting a very specific use case to work. The application in question has two components: a Windows service, which needs to run in a privileged context outside of the de...
Middlemost asked 8/5, 2015 at 20:29

4

I've got the following setup: There is a SQL Server DB with several tables that have triggers set on them (that collect history data). These triggers are CLR stored procedures with EXECUTE AS 'His...
Supramolecular asked 28/4, 2009 at 14:18

1

I'm using google-api-php-client 0.6.1 and I'd like to know is there a way to impersonate concrete user with service account? My application needs to store some files in its google drive. So, I've d...
Prehistory asked 6/3, 2013 at 7:10

2

Solved

I implemented a web page (ASP .NET, VB) to start/stop a Windows service. I used impersonification, as described here: http://support.microsoft.com/kb/306158 Everything it's ok when the page reads...
Incautious asked 15/10, 2012 at 10:30

3

Solved

I'm using impersonate tag in my web.config in Asp.net 4.0 website. Below is my Web.Config code: <system.web> <authentication mode="Windows"> <identity impersonate="true" userNa...
Hospitalet asked 2/8, 2011 at 21:30

4

Solved

I'm currently using a homegrown method to run a process as a different user in Vista, and I can't escape the feeling that's it hack-ish and less than ideal (in addition to the fact that it craps ou...

2

Solved

I am trying to run an SSIS package through a stored procedure, but I am getting an Access is denied error when I try to import a CSV. I put the package inside a job and ran it and it worked as lon...

5

Solved

I have an ASP.NET site that must use Forms Authentication and not Windows Authentication to access a ActiveDirectoryMembershipProvider. The site must use forms because they need a designed input fo...

1

For SharePoint 2010 we used custom web services (NOT SOAP!) to make some 3rd party data available to JS code in the pages displayed by the browser. This was sensitive data so we used impersonation ...
Adeline asked 24/10, 2014 at 10:51

2

Solved

I am writing a database application using Visual Studio 2012 with Entity Framework 5 and SQL Server 2008. I would like Entity Framework to impersonate a SQL Server user (i.e. user without a login)....

3

Solved

In my WPF application I want to allow administrators to test a database connection using integrated security for various other users. So I have a form that allows the admin to enter the domain, use...
Hardi asked 3/9, 2014 at 13:55

2

Solved

On Windows it is possible to have a service that allows clients running in a user context to connect to it using sockets or pipes, and then impersonate the connecting user in order to act on behalf...
Lepanto asked 2/3, 2012 at 16:40

0

Problem I'm creating a Windows server program that is potentially quite vulnerable to attacks. I'd like to sandbox (jail?) it or at least run my process in very low integrity setting. I probably b...
Virge asked 3/7, 2014 at 5:21

1

Solved

I am new to wix installer. I have developed a set-up using wix installer for my application and I need to execute a Custom Action to run a command in cmd.exe. In XP it works fine. But in Windows 8 ...
Marcelmarcela asked 30/6, 2014 at 6:56

3

Solved

Please explain impersonation for non-technical users.Then please explain it in the context of ASP.NET. Is Impersonation good or evil? Do we use it in the case of Forms-based Authentication?
Oviduct asked 1/4, 2010 at 19:6

3

In my web application, there are times when an authenticated admin might want to impersonate another valid user of a system without having to know that user's password. How can I use Spring Securi...
Salutation asked 14/6, 2011 at 0:16

2

Solved

Environment: Windows XP SP3, C#, .Net 4.0 Problem: I'm attempting to add access to an impersonated users registry hive in an impersonation class and I'm running into issues based on the type of u...
Hoopen asked 8/12, 2010 at 20:54

© 2022 - 2024 — McMap. All rights reserved.