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
In how many ways we can retrieve table records count?
How does asp.net page work?
What is the file extension of web service?
How to Separate background image and front image from original picture....
Which authentication uses a combination of windows and iis authentication?
What is form method?
Explain about Automatic resource management?
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?
What is scope of an application variable in asp.net?
What is use of <% %> in asp.net?
What is the maximum number of classes that can be contained in one dll file?
What are the advantages and disadvantages of session?
How we can force all the validation controls to run?
What are the ways to sending the data in ASP.NET page?
How can we access static variable?