IISExpress AppPool身份验证 [英] IISExpress AppPool identity verification

查看:63
本文介绍了IISExpress AppPool身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要以特定身份运行IISExpress.阅读完这篇文章后,如何在以下位置运行iisexpress应用程序池一个不同的身份我在\ Documents \ IISExpress \ config \ applicationhost.config文件中更改了processModel的用户名和密码属性.

I needed to run IISExpress under a specific identity. After going through this post how to run iisexpress app pool under a different identity I changed the processModel's username and password attributes in my \Documents\IISExpress\config\applicationhost.config file.

我想验证我的Web应用程序中的更改.有没有办法验证?

I would like to verify the change in my web application. Is there a way to verify?

最终,我要解决的问题是使用PrincipalPermission属性可以正常运行我的安全性.我相信此属性上的Name属性与运行IISExpress和我的应用程序的用户相匹配.

Ultimately, what I'm after is that my security works properly using the PrincipalPermission attribute. I believe the Name property on this attribute matches the user under which IISExpress and my application are running.

预先感谢您的帮助.

推荐答案

IISExpress使用当前用户身份运行,更改ProcessModel用户名/密码将无济于事.以特定身份运行的唯一方法是使用"runas"启动iisexpress.exe.

IISExpress runs with current user identity and changing ProcessModel username/password won't help. Only way to run with particular identity is to launch iisexpress.exe with 'runas'.

这篇关于IISExpress AppPool身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆