Impersonation is a process whereby an application assumes another identity or security context during execution.
Questions tagged [impersonation]
1522 questions
2
votes
1 answer
WCF:Relationship between NetworkCredential and Impersonation
I have a WCF service hosted in IIS 7 in the default app pool in Integrated mode with anonymous access disabled and windows Authentication enabled.
I have put the following attribute on the method implementation for my…

ShaneH
- 640
- 8
- 15
2
votes
0 answers
Impersonation exception using SQLFileStream in c#
Our application is using Filestream columns to hold images in the database. The application runs perfectly on the desktops using windows 7 but gives a exception on the Windows XP machines. The following exception is thrown:
"Either a required…

Ben
- 21
- 1
2
votes
0 answers
Getting 403 on target client's resources during impersonation Keycloak
I am trying to impersonate a user in Keycloak who has the role user (tony123) by using another user (superadmin).
Superadmin has the impersonation role under realm-management client assigned.
I am also able to generate a token for superadmin in the…

chaitanya guruprasad
- 641
- 7
- 18
2
votes
0 answers
Graph Delegated Impersonation
I have a C# solution that I use to retrieve Mails via Microsoft Graph API.
Currently I get the access token interactively via
var pcApplication = PublicClientApplicationBuilder.Create(clientId).Build();
AcquireTokenInteractiveParameterBuilder…

insiders_dev
- 71
- 3
2
votes
1 answer
Impersonation with .net v4
I have a .net v4 web app which uses impersonation as our web server and database server are on separate physical servers.
When we attempt to run the application we receive a server error
Could not load file or assembly '######' or one of its…

Adrian S
- 1,007
- 4
- 12
- 26
2
votes
1 answer
WCF Impersonation and SQL trusted connections?
We have a service that is hosted under IIS7. The connection string for the SQL server is set to Trusted. In order for the authentication to happen I need to setup impersonation on the service and have the client initiate an impersonated connection.…

DDiVita
- 4,225
- 5
- 63
- 117
2
votes
1 answer
How can I impersonate logged on user and get access to unc folders?
I'm having trouble impersonating logged on user and then access unc files. I have tried using this sample code:
using System.Security.Principal;
...
// Obtain the authenticated user's Identity
WindowsIdentity winId =…

Pär Fahlén
- 21
- 1
- 2
2
votes
2 answers
Azure SQL authenticate as user via API with MS Identity Platform
I have an ASP.NET Core 3.1 Web App calling an ASP.NET Core 3.1 Web API, which in turn accesses an Azure SQL database. Authentication is provided via MSAL (Microsoft Identity Platform) - i.e. using the relatively new Microsoft.Identity.Web and…

user3529977
- 215
- 1
- 2
- 9
2
votes
1 answer
Impersonation Middleware in an Asp.Net Core Intranet app for Windows-Identity
Before I explain my problem, here's our scenario:
Scenario
We write software only for our intranet Windows users (currently managed by local Active Directory but in future it is possible we migrate to Azure-AD).
Up to yet there is an old monolithic…

Alois
- 361
- 2
- 18
2
votes
3 answers
EasyAdmin 3 - Impersonate User in dashboard
I have tried to used easyAdmin3 for making an admin account quickly, but how do you make a proper impersonate user action ?
I have tried a lot of things but the best option are made custom action so this link appear in page but it's don't works…

Grandpere
- 51
- 9
2
votes
1 answer
How to Impersonate Impala queries on Superset
I'm setting up Superset (0.36.0) in production Mode (with Gunicorn), and I would like to set up impersonate while running Impala queries on my Kerberized Cluster, to each user of Superset have privilegies on tables/databases like he has on…

guilherme0170
- 123
- 1
- 9
2
votes
1 answer
Embeded powerbi report with service principal using onpremise SSAS as dataset
i've got an on premise SSAS instance which is configured in powerbi using gateway, configuration is proper as report using dataset from SSAS works from app.powebi and even from embedded report if token is requested using username/password flow.
From…

DaveCiki
- 21
- 1
2
votes
0 answers
User Impersonation from System Account service
I am Working on creation Windows Service using C#, running from System Account with background services.
I need to perform some task via service which need user login info, which I intend to share with user token, retrieved at run-time. and to…

Pratik Patil
- 101
- 1
- 5
2
votes
0 answers
How to Impersonate User via System Account
I am working on desktop application using C# (Windows service) in which I am trying to Impersonate User
via system space. I tried retrieving user token by triggering new process but it is still running in
system account. Is there ant way to…

Pratik Patil
- 101
- 1
- 5
2
votes
1 answer
Impersonate User in ASP.Net Core Web Api
I am planning a public Web Api in ASP.Net Core. Also there is a database connected and sign on is planned as well.
There is a connection from my application to the database open using Integrated Security=True;. Is it possible to connect to the…

msfriese
- 111
- 3
- 9