Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们可以使用应用程序身份而不是 Windows 身份验证来验证托管在 ISS 上的 Web 应用程序吗?
应用程序将禁用 Windows 身份验证并启用匿名,并且应用程序应使用在应用程序池标识中输入的凭据进行身份验证。
如果是这样,您应该将匿名身份验证用户设置为应用程序池身份。
然后使用您的代码验证登录用户。