gpt4 book ai didi

security - 通过 Powershell 在 IIS 7.5 中启用模拟

转载 作者:行者123 更新时间:2023-12-04 17:39:48 24 4
gpt4 key购买 nike

我希望有人可以提供帮助,我正在尝试在 IIS7 的 Authenticatuin 部分下启用“ASP.Net Impersonation”,我已使用以下命令启用了其他部分:

Set-WebConfigurationProperty `
-filter /system.WebServer/security/authentication/windowsAuthentication `
-name enabled `
-value true `
-location $SiteName

但是我找不到用于设置 ASP.net Impersonation 的类似命令,我猜它与 ASP.net 而不是 IIS 有关。

任何见解将不胜感激。

最佳答案

尝试这个:

Set-WebConfigurationProperty `
-Filter system.web/identity `
-Name impersonate `

-Value True `
-Location $SiteName

关于security - 通过 Powershell 在 IIS 7.5 中启用模拟,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6847647/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com