简体   繁体   中英

Form Authentication NO ASP.net Just C# & MYSQL

How do i enable forms authentication for .net framework 4.0 just to look at MySQL Database for Username and Password and Access Level with out using asp.net Basically i want to have a database login IE USER* ** Pass * port 3306 database accounts is login to database server then a secondary login that enables disables features depending on access Level set in database. I did it in 3.5 framework but i lost all of my code so i cant look back at it.

Just generated a table with account info in it yhen hard coded the permissions into program if uname access level is == 4 btn1.enabled = true btn2.enabled = true else{code here } if uname access lvl is == 3 btn1.enabled = true btn2.enabled = false. So on so forth per access level permissions

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM