Answered by:
How to use asp.net identity

Question
-
User-1388383071 posted
Dear All,
i would like to know how to use identity and claims in an asp.net application. i want to achive following security goals using identity and claims, can any one provide a sample application/ or a prototype
1.) How to register a user,
2.) how to validate user login
3.) How to change password,Reset password
4.) How to assign roles to user ( via claims).
5.) how to generate JWT tokens and read user claims and STS details
6.) how i can enable / disable Read/Write/Delete/update features using claims or Roles ( ie if user in admin role he can DO all CRUD , if user claim localadmin ,he can perform
Create,read, else only read)
Sunday, April 6, 2014 7:01 AM
Answers
-
User-307440557 posted
Hi Binson,
You can use the Asp.Net Configuration Tool to create Users and Roles for you application and then use the isRole properties to check the Role Based Authentication .For Mor information this is the link http://msdn.microsoft.com/en-us/library/yy40ytx0.aspx
Thanks
Darnie
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, April 8, 2014 11:47 PM
All replies
-
User1070938216 posted
hi binson
here's the tutorial for Role Membership : http://www.asp.net/web-forms/tutorials/security/membership/creating-the-membership-schema-in-sql-server-cswith all basic's you need to learn and code samples.
please mark as answer if helps you :)Sunday, April 6, 2014 7:36 AM -
User-1388383071 posted
i am looking for windows identity not memebrship
Sunday, April 6, 2014 7:52 AM -
User-307440557 posted
Hi Binson,
You can use the Asp.Net Configuration Tool to create Users and Roles for you application and then use the isRole properties to check the Role Based Authentication .For Mor information this is the link http://msdn.microsoft.com/en-us/library/yy40ytx0.aspx
Thanks
Darnie
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, April 8, 2014 11:47 PM -
User-734925760 posted
i am looking for windows identityHi,
According to your description, if you want to use windows identity, please refer to the link below:
http://msdn.microsoft.com/en-us/library/system.security.principal.windowsidentity.aspx
Thanks!!
Wednesday, April 9, 2014 7:08 AM