Step 1- Set the form authentication mode equals to form Step 2-In web.config add following code Inside system.web Step 3-In this step we need to controller for checking authentication. Here we check that user is authorize or not. In home controller add following code Action decorated with Authorize cannot be called by unauthorized user.
Step 1- Set the form authentication mode equals to form
Step 2-In web.config add following code
Inside system.web
Step 3-In this step we need to controller for checking authentication. Here we check that user is authorize or not.
In home controller add following code
Action decorated with Authorize cannot be called by unauthorized user.