How to use Authentication and Autherization in asp.net
I am developing an article blog website seems like our csharpcorner.com. The visitors how see my website would able to read the content, if they want to download or post an article it ask for Registration or login. and login user should also watch all the posts like visitors. (same as csharpcorner). Please give a sugession for development


Abhishek KumarRank #510 · 4.8K reputationPosted Sep 12, 2014, 3:19 AM EDT
Please find very nice article with a sample application for form authentication role based.
http://www.aspsnippets.com/Articles/Implement-Role-based-security-using-Forms-Authentication-in-ASPNet.aspx
Hope this will help.
Let me know if you need any thing like sample code?
Abhishek KumarRank #510 · 4.8K reputationPosted Sep 11, 2014, 1:54 AM EDT
You need to create role based website.
Use form bases authentication to authenticate users.
Authenticated users need a role based autherization /permission for the tasks listed.
Abhishek
Karthik Raj14 reputationPosted Sep 11, 2014, 7:51 PM EDT
Karthik Raj14 reputationPosted Sep 15, 2014, 8:29 PM EDT
Abhishek KumarRank #510 · 4.8K reputationPosted Sep 16, 2014, 1:24 AM EDT
Hi,
Please mark it as accepted answer if it helps you :) :)
Abhishek