开发者

is impersonation what i'm looking for

My workstation is inside my company network domain. I have a virtual pc on my workstation that is not on the domain and 开发者_如何学Pythonmy asp.net web application is windows authenticated which resides on the virtual.

can't i use impersonation and use my network credentials to access the domain thru the application?

<configuration>
  <system.web>
    <identity impersonate="true"/>
  </system.web>
</configuration>


You could put your domain creds in code:

Using programmatic Impersonation from an ASP.NET Page


no - impersonation is all about allowing your asp.net web app to run as a different user, but one that is still inside the domain / forest

you might be able to get it to work via NTLM. Create a user on the virtual machine with the same user name and password as your domain account

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜