User-271186128 posted
Hi ito2307,
i want to do a superadmin and admin, just the superadmin can create, read, update, and delete with OWIN, or Authentication..
ASP. NET provides different methods to authenticate a user.
Before you develop a webform project, you should decide which authentication methods you want to use.
In this article you will see the differences between authentication Methods.
http://www.c-sharpcorner.com/UploadFile/1d42da/authentication-method-in-Asp-Net/
If you use form-authentication, you can refer to the following articles to implement Forms-Based authentication, and set authorization rules for a particular page or folder.
https://support.microsoft.com/en-us/kb/301240
http://weblogs.asp.net/gurusarkar/setting-authorization-rules-for-a-particular-page-or-folder-in-web-config
Besides, we often use Membership or ASP.NET Identity help us manager users and roles.
If you want to use membership, you can check the following link to create authentication and design a role manage page.
http://mahedee.net/asp-net-membership-step-by-step/
If you want to use ASP.NET Identity, you can get some useful information about how to manage users and roles in follow links
http://www.codeproject.com/Articles/790720/ASP-NET-Identity-Customizing-Users-and-Roles
http://www.codeproject.com/Articles/751897/ASP-NET-Identity-with-webforms
http://www.asp.net/identity/overview/getting-started/adding-aspnet-identity-to-an-empty-or-existing-web-forms-project
Best Regards,
Dillion