简体   繁体   English

.net Web应用程序是否可以在“表单”和“ Windows”中使用身份验证

[英]Can we use Authentication in 'Forms' and as well in 'Windows' for a .net web application

We have an application in Access for UI and MS Sql server as Database server. 我们在Access for UI和MS Sql服务器作为数据库服务器中都有一个应用程序。 We now decided to build a new application in web application for UI. 现在,我们决定在Web应用程序中为UI构建一个新应用程序。 This web application is only used by the employees who work for the company. 该Web应用程序仅由为公司工作的员工使用。 But later we decided to host this web application on outside server. 但是后来我们决定将这个Web应用程序托管在外部服务器上。 So the user (from this company only.) can able to login anywhere in the world. 因此,用户(仅来自该公司)可以在世界任何地方登录。 First I thought creating the web application using 'windows' authentication thinking we may be using it as an intranet web application. 首先,我以为使用“ Windows”身份验证创建Web应用程序,以为我们可能会将其用作Intranet Web应用程序。 But now my manager asked me to use both 'Forms' and as well as 'Windows' for using this application and this web application will be hosted on outside server. 但是现在我的经理要求我同时使用“窗体”和“ Windows”来使用此应用程序,并且此Web应用程序将托管在外部服务器上。 I really don't catch his point of using both types of authentication. 我真的不理解他使用两种身份验证的观点。

Please help me is there any ways to use both authentication methods and please also suggest me why we might need to use both authentication methods. 请帮助我,有什么方法可以同时使用两种身份验证方法,也请建议我为什么我们可能需要同时使用两种身份验证方法。 If so could you please help me with some instructions of using the both authentication types. 如果可以的话,请为我提供一些使用两种身份验证类型的说明。 Thank you so much for taking time to read and understand my question and helping me in this regard. 非常感谢您抽出时间阅读和理解我的问题,并在这方面为我提供了帮助。

@Will explained in his comment as to why both forms of authentication is preferred. @Will在评论中解释了为什么首选两种身份验证方式。 The following article shows one way to implement what you need. 下面的文章显示了一种实现所需内容的方法。

You may also want to check the following article to better understand how Windows Authentication works. 您可能还需要查看以下文章,以更好地了解Windows身份验证的工作原理。

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

相关问题 我们可以使用 .NET System.Windows.Forms.Timer 来代替 Excel VBA Application.onTime 吗? - Can we use .NET System.Windows.Forms.Timer to replace Excel VBA Application.onTime? 我们可以在Window Forms(.Net)应用程序中使用Google广告吗? - Can we use Google Ads in a Window Forms (.Net) application? 更改Web应用程序身份验证以使用Windows身份验证 - change web application authentication to use Windows Authentication 将Windows Forms .NET应用程序的UI移至Web - Move UI of Windows Forms .NET application to web Asp.net Web窗体Web应用程序中的Azure AD身份验证 - Azure AD Authentication in Asp.net web forms web application Windows窗体应用程序中的ASP.NET身份验证 - ASP.NET authentication from a Windows Forms application 我们可以将Windows服务用于可在特定日期和时间触发邮件的Web应用程序吗? - Can we use a windows service for a web application which can trigger a mail on specific date and time? WinForms应用程序的Windows窗体身份验证 - Windows Forms Authentication for WinForms Application 我们可以部署在ubuntu的Windows中开发的asp.net Web应用程序吗 - can we deploy an asp.net web application developed in windows in ubuntu 我们可以在Windows应用程序中使用Jquery吗? - Can we use Jquery in windows application?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM