impersonation

How to get Alfresco login ticket without user password, but with impersonating user with user principal name (UPN)

耗尽温柔 提交于 2020-01-12 10:13:20
问题 I'm writing a DLL that has function for getting Alfresco login ticket without using user password, using only a user principal name (UPN). I’m calling alfresco REST API service /wcservice . I use NTLM in Alfresco. I’m impersonating users using WindowsIdentity constructor as explained here http://msdn.microsoft.com/en-us/library/ms998351.aspx#paght000023_impersonatingbyusingwindowsidentity. I checked and user is properly impersonated (I checked WindowsIdentity.GetCurrent().Name property).

How to get Alfresco login ticket without user password, but with impersonating user with user principal name (UPN)

早过忘川 提交于 2020-01-12 10:13:09
问题 I'm writing a DLL that has function for getting Alfresco login ticket without using user password, using only a user principal name (UPN). I’m calling alfresco REST API service /wcservice . I use NTLM in Alfresco. I’m impersonating users using WindowsIdentity constructor as explained here http://msdn.microsoft.com/en-us/library/ms998351.aspx#paght000023_impersonatingbyusingwindowsidentity. I checked and user is properly impersonated (I checked WindowsIdentity.GetCurrent().Name property).

How do I configure IIS so that the user's domain credentials are used when connecting to SQL server?

亡梦爱人 提交于 2020-01-11 02:30:49
问题 We've recently released the latest version of our intranet application, which now uses windows authentication as standard, and needs to be able to connect to a configured SQL server with the end-user's domain credentials. Lately we've found that on a couple of customer deployments, although IIS can see the user's domain credentials, it will not pass these on to SQL server. Instead, it seems to use the anonymous account. This is in spite of following all the correct steps (changing the

Run ClickOnce Application as Administrator

China☆狼群 提交于 2020-01-06 08:47:06
问题 I have a vb.net clickonce application that will be used by low-level personnel with no administrator accesses. However, the application itself needs to save files to a folder on the server that is hidden and only allows read/write access to administrators. I need for these users to be able to interact with this folder using the application without giving them the ability to browse to the folder on their own. I've tried using several impersonation techniques, none have worked. http://weblogs

Problems connecting to an authenticated downstream netTcp endpoint

我与影子孤独终老i 提交于 2020-01-05 14:02:43
问题 In a related post, I am having trouble connecting to a basicHttp endpoint and it seems that it is due to WCF impersonation issues when connecting to a downstream service. The funny thing is that it works fine when I replace the basicHttp WCF service with an ASMX web service. Both services use <identity impersonate="true" userName=".." password=".." /> from ASP.NET web.config file, but the ASMX service works while the basicHttp WCF service doesn't. Does this seem likely to be some sort if

ASP.NET impersonation problem

假如想象 提交于 2020-01-05 04:57:27
问题 I am trying to get my IIS 7.5 to impersonate the account of the user accessing a site through a browser. If I use... <identity impersonate="true" userName="mydomain\myusername" password="mypassword" /> it works just fine. However, if I use... <identity impersonate="true" /> It won't pick up the user. Am I missing some code? Or is this an IIS 7.5 configuration issue? 回答1: I posted a previous answer, but I think this one applies better Try to select if you are using a specific user or pass

Symfony2: unable to impersonate user when website log-in using two different user providers

对着背影说爱祢 提交于 2020-01-05 04:44:51
问题 In my website user can log-in with simple account (created in my website, configured MY_OWN_USER provider, which selects user by email) or using facebook log-in (integrated through fosfacebook bundle). When i'm trying to impersonate user (appending link '...?_switch_user=demo@demo.com', like described in Symfony2 documentation) Symfony2 logs such warning: security.WARNING: Switch User failed: "The user is not authenticated on facebook" I've checked Symfony\Component\Security\Http\Firewall

Symfony2: unable to impersonate user when website log-in using two different user providers

。_饼干妹妹 提交于 2020-01-05 04:44:12
问题 In my website user can log-in with simple account (created in my website, configured MY_OWN_USER provider, which selects user by email) or using facebook log-in (integrated through fosfacebook bundle). When i'm trying to impersonate user (appending link '...?_switch_user=demo@demo.com', like described in Symfony2 documentation) Symfony2 logs such warning: security.WARNING: Switch User failed: "The user is not authenticated on facebook" I've checked Symfony\Component\Security\Http\Firewall

IIS 7 impersonation and identities

懵懂的女人 提交于 2020-01-03 13:45:07
问题 I'm trying to get used to II7, having worked with IIS6 for quite some time. In IIS 6, I'd set <identity impersonate="true"/> in the web.config, and make sure that I applied the correct NTFS permissions to the IUSR_[MACHINENAME] account if a folder required more than read permissions. In IIS 7, I'm having trouble duplicating this setup without resorting to applying too many permissions. If I use <identity impersonate="true"/> in IIS 7, Environment.Username tells me that I'm indeed

IIS 7 impersonation and identities

。_饼干妹妹 提交于 2020-01-03 13:44:07
问题 I'm trying to get used to II7, having worked with IIS6 for quite some time. In IIS 6, I'd set <identity impersonate="true"/> in the web.config, and make sure that I applied the correct NTFS permissions to the IUSR_[MACHINENAME] account if a folder required more than read permissions. In IIS 7, I'm having trouble duplicating this setup without resorting to applying too many permissions. If I use <identity impersonate="true"/> in IIS 7, Environment.Username tells me that I'm indeed