启动ASP.NET窗体身份验证 [英] Starting ASP.NET Forms Authentication
问题描述
我开始学习ASP.NET窗体身份验证,我正在寻找一个好文章来帮助我开始。
I'm starting to learn ASP.NET Forms Authentication, and I'm looking for a good article to help me start.
这是ASP.NET窗体身份验证使用以前的数据库表preceeded的负载 ASPNET _我听说
,但我发现任何例子不显示此。
I've heard before that ASP.NET Forms Authentication uses a load of database tables preceeded with aspnet_
, however any examples I've found don't show this.
例如,我认为那里有一个 aspnet_users
表?
For example I think theres an aspnet_users
table?
如何能产生这些表,这是我应该做什么?
How can I generate these tables, and is this what I'm supposed to be doing?
任何教程我觉得只是告诉我有关添加验证
标签到web.config中。
Any tutorials I find just tell me about adding the authentication
tag into the web.config.
推荐答案
ASPNET _
表是的 SQL会员提供商实施。 Forms身份验证对会员提供的顶级作品
。
aspnet_
tables are part of SQL membership Provider implementation. Forms authentication works on top of Membership Provider
.
下面有一些文章
- Use Forms Authentication with SQL Server in ASP.NET 2.
- Membership, Roles, and Profile
您甚至可以推出它使用您现有的表自己的会员提供商。
You can even roll out your own Membership Provider which uses your existing table.
借助检查ASP.NET的成员资格,角色和配置文件系列是一个很好的起点。它涵盖了ASP> NET的所有安全部分。
The Examining ASP.NET's Membership, Roles, and Profile series is a good starting point. It covers all the security part of ASP>NET.
这篇关于启动ASP.NET窗体身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!