i have a login page after entering correct info user go to home page .
but by copying url of home page he diectly runs this page without login.
For this i have to stop this action so that he cant be able to go to home page without correct credential
I have a login page after entering correct info user go to
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Ankur JainRank #2,475 · 567 reputationPosted Aug 5, 2014, 11:14 PM EDT
this is because of you have to set Authentication and Authorization, you need to set roles in web config file then you can go for it... take a look at link ..
happy coding ...
please don't forget to mark it as answer...
http://www.aspdotnet-suresh.com/2011/11/what-is-authorization-in-aspnet.html.
http://www.codeproject.com/Articles/98950/ASP-NET-authentication-and-authorization