简体   繁体   English

ASP.NET .NET Framework 1.0和身份验证

[英]ASP.NET .NET Framework 1.0 and Authentication

I have an older ASP.NET (.NET 1.0) web application that is using Windows authentication. 我有一个使用Windows身份验证的旧版ASP.NET(.NET 1.0)Web应用程序。 We want to remove the Windows authentication since the AD server for this particular web application needs to be decommission. 我们需要删除Windows身份验证,因为此特定Web应用程序的AD服务器需要停用。 We want to keep some type of authentication for this older web-application. 我们希望对此较旧的Web应用程序保留某种身份验证。 I am thinking this leaves us with Forms and Passport authentication modes (but not sure of support in a .NET 1.0). 我认为这让我们留出了Forms和Passport身份验证模式(但不确定是否支持.NET 1.0)。 I am trying to avoid a major rewrite since the web-application is not being used much anymore (only being used by one user). 由于Web应用程序已不再使用(仅由一个用户使用),因此我试图避免进行重大重写。 Any idea of a quick and simple solution to remove Windows authentication to something else for authentication? 有什么快速简便的解决方案可以将Windows身份验证删除为其他身份验证?

If the domain controller is to be decommissioned I take it the entire office will reverted back to a domain-less workgroup environment. 如果要停止使用域控制器,那么我认为整个办公室将恢复为无域工作组环境。 I also take it all workstations will be configured to leave the domain prior to destroying the domain controller once and for all. 我也认为所有工作站都将配置为在彻底破坏域控制器之前离开域。

Since it's only down to one user for a web application that has little value in enhancement, you may be able to get away by creating the very same user account with the same password on the web server. 由于只有一个用户使用一个Web应用程序,而该应用程序在增强方面几乎没有价值,因此您可以通过在Web服务器上创建具有相同密码的相同用户帐户来逃脱现实。 That way when s/he accesses the web app on that server, the Windows authentication mechanism will attempt to negotiate as SERVER\\username in the local SAM store instead of relying on the previous DOMAIN\\username account. 这样,当他/她访问该服务器上的Web应用程序时,Windows身份验证机制将尝试以本地SAM存储中的SERVER \\ username身份进行协商,而不是依赖于以前的DOMAIN \\ username帐户。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM