Difference Asp.net Forms and None Authentication
I am looking for differenc开发者_运维百科e between forms and none authentication in asp.net, as I didn't find enough content to clarify it, so need help.
Forms Authentication
A login page is defined [loginUrl=], where a user is presented with a username/password challenge. The login page accepts the username and password, which is then used to authenticate the users against a membership database. Authentication mechanisms include:
- Integrated: Authenticates against an Active Directory store
- ASP.NET Membership: A SQL script provided with ASP.NET may be used to create a set of tables in a database that maintains user information. The ASP.NET Membership provider is based on a set of interfaces, so the default implementation may be replaced with a custom implementation. This allows you to use tables other than the "stock" membership tables created by the script.
The username/password goes over the wire unencrypted unless an SSL connection is used. A cookie is returned on authentication to persist the login.
No Authentication
When authentication=none, there is no authentication performed at the IIS/ASP.NET level. Anonymous users have full access to the content, unless a subdirectory is configured with another web.config file that has different settings. Each subdirectory in an ASP.NET site may be configured with an independent web.config that can be used to override the root settings.
精彩评论