Last post Nov 18, 2015 01:38 PM by ASPFan3
Nov 17, 2015 09:39 AM|ASPbun|LINK
I am a newbie and so far I used to build sites and projects and deploy them on iis. I would like to learn how to make a site accesssible to only authenticated users. I would like to set up a login page and manage users permissions and all that stuff. Some
one please guide me through this.. any step by step article that can help.
Nov 17, 2015 09:53 AM|uid895650|LINK
Have a look at these tutorials: http://www.asp.net/mvc/overview/security
They are pretty self explanatory and easy to understand.
When you create a new application through Visual Studio, who have the option of selecting the authentication mechanism. By default it will be "Individual User Accounts" which will meet your needs. So out the box you will get a full site with security wired
You can obviously get more detailed and complex, but I suggest doing this and look at the generated code as a starting point to understanding membership etc...
Hope this helps.
Nov 17, 2015 10:28 AM|ASPbun|LINK
I forgot to mention this is for Intranet application. Thx.
Nov 17, 2015 11:04 AM|uid895650|LINK
Same thing should apply.
You can add membership to an existing web site using the Membership Provider.
These should be sufficient to guide you through adding security to your web site.
Nov 17, 2015 11:08 AM|ASPbun|LINK
Awesome. Thank you.
Nov 18, 2015 01:18 PM|ASPFan3|LINK
Nov 18, 2015 01:21 PM|ASPFan3|LINK
Nov 18, 2015 01:38 PM|ASPFan3|LINK