i created some pages in asp.net. but i want to allow the users only if he is login. how to do that. is there any controls available for that one.
Thank you
i created some pages in asp.net. but i want to allow the users only
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In the
web.configthere is a section below<system.web>where you can add:It is normal that you put pages that requires login in a certain sub-directory and thus you can put a new
web.configin that folder with the above lines inside<system.web>, this will prevent unauthorized access.MSDN has a great section about Forms Authentication that I recommend you to read.