How to authenticate users using web.config ?
Answer Posted / 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 |
Post New Answer View All Answers
Describe how passport authentication works.
What's the use of response.output.write()?
Name the two properties are on every validation control?
What is intrinsic objects in asp.net?
Differentiate between file-based dependency and key-based dependency.
What is advantage of asp.net?
What is the difference between ldap and active directory?
What is the difference between a page theme and a global theme?
Why do you use the app_code folder in asp.net?
How does asp.net work?
If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?
Is it possible to create web application with both webforms and mvc?
What is difference between view state and session state?
What are the advantages and disadvantages of Using Cookies?
COM+ Used ________________ Isolation Level