回答

3

Windows身份验证使用Windows登录:http://en.wikipedia.org/wiki/Integrated_Windows_Authentication

窗体身份验证,用户需要提供用户名和密码手动: http://www.asp.net/web-forms/tutorials/security/introduction/an-overview-of-forms-authentication-vb

这样做的几种方法 - >窗体和Windows和变化:

在mvc 4项目的“外部”web.config中,默认情况下您会看到类似于下面的行:

表单(使用IIS)

<authentication mode="Forms"> 

Windows身份验证由Windows处理。 你也可以混合使用两者。

编写客户提供相当普遍,你是否需要LDAP等SSO(上单点登录)SSSO(静音单点登录)
一个做它于2005年开始使用的旧方式取决于整合SQL Server的

Aspnet_regsql.exe <options> 

http://msdn.microsoft.com/en-us/library/ms229862(v=vs.100).aspx#findingthecorrectversion

有在技术方案..... http://msdn.microsoft.com/en-us/library/hh291061.aspx

SimpleMembership is probably a good choice for MVC4 

http://weblogs.asp.net/jgalloway/archive/2012/08/29/simplemembership-membership-providers-universal-providers-and-the-new-asp-net-4-5-web-forms-and-asp-net-mvc-4-templates.aspx

+0

谢谢!这澄清了很多。 – 2013-04-06 13:59:08

+0

没问题。你只需要决定什么类型适合你的商业或个人等需求... – 2013-04-06 23:06:23