有沒有標準的asp.net認證授權登錄系統? (Is there a standard asp.net authentication authorization login system?)


問題描述

有沒有標準的asp.net認證授權登錄系統? (Is there a standard asp.net authentication authorization login system?)

Besides what it comes with in 2.0 (the generated aspnetdb.mdf), is there a standard login authorization authentication system for asp.net Internet websites?  One that can plug into a website.


參考解法

方法 1:

You can use aspnet_regsql.exe to create the required tables/sprocs/views in any sql server db of your choosing. Once you've added the proper connection string and membershhip configuration, you can use all of the membership stuff that was added with .net 2.0

4 Guys has a pretty good tutorial on how to implement the membership system, and they cover using aspnet_regsql.exe.

方法 2:

"the generated aspnetdb.mdf" is the ASP.NET Membership model. You can use it in websites without the generated aspnetdb.mdf.

From an article in MSDN called Introduction to Membership:

  

ASP.NET membership gives you a   built-in way to validate and store   user credentials. ASP.NET membership   therefore helps you manage user   authentication in your Web sites. You   can use ASP.NET membership with   ASP.NET Forms authentication or with   the ASP.NET login controls to create a   complete system for authenticating   users.

See my answer and comments here, too.

(by johnnyJimmie R. HoutseKek0)

參考文件

  1. Is there a standard asp.net authentication authorization login system? (CC BY-SA 3.0/4.0)

#login #Security #authentication #authorization






相關問題

只允許 oracle db 登錄到特定的應用程序? (Allowing oracle db login only to specific application?)

使用 FB.login 的註冊流程 (Registration flow using FB.login)

asp.net c# sistem login (asp.net c# login system)

Rails 設計登錄不工作 (Rails devise sign in not working)

我在 cakephp 2.4 中遇到了登錄頁面 (I'm getting stuck with login page in cakephp 2.4)

如何刪除特定用戶的會話登錄 (How to remove session login for specific user)

有沒有標準的asp.net認證授權登錄系統? (Is there a standard asp.net authentication authorization login system?)

所有這些網絡平台如何實現不需要用戶反复登錄的長時間登錄會話? (How do all these web platforms achieve a long-time login session that does not require the user to login over and over again?)

Util-Linux 登錄不使用影子密碼 (Util-Linux Login not working with shadow password)

Android Webview Facebook 登錄 (Android Webview Facebook Login)

重置 Bookstack 憑據 (Reset Bookstack Credentials)

輸入正確的詳細信息且未顯示錯誤後,登錄頁面未重定向到 index.php (Login in page not redirecting to index.php after entering correct details with no error displayed)







留言討論