How to authenticate users using web.config ?
Answers were Sorted based on User's Feedback
Answer / deepa
Forms authentication can be done at web.config
<authentication mode="Forms">
<forms name="appNameAuth" path="/"
loginUrl="login.aspx" protection="All" timeout="30">
<credentials passwordFormat="Clear">
<user name="jeff" password="test" />
<user name="mike" password="test" />
</credentials>
</forms>
</authentication>
<authorization>
<deny users="?" />
</authorization>
Is This Answer Correct ? | 29 Yes | 5 No |
Answer / babu reddy
if we are using form based authentication at that time in
the web.config
we can set the autentication mode to "form"
then we can specify the user name and password which we are
going to access.
if any one can access that application then you can specify
<allow users="*">
inside the authentication tags
Is This Answer Correct ? | 21 Yes | 2 No |
How many types of sessions in asp.net?
What is the difference between trace and debug in asp.net?
List the major built-in objects in asp.net?
What ?ll u do in early and late binding ?
What are app services?
What is Runtime callable wrapper?
What is the difference between the asp and asp.net?
Explain how is a property designated as read-only?
What is asp.net mvc5? : Asp.Net MVC
What are different types of authentication techniques that are used in connection strings to connect .net applications with microsoft sql server?
What is meant by web application?
When would you set a control's AutoPostBack property to true?