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
Differentiate between early binding and late binding.
in which protocol ASP.NET WEB API Work?
How can you register a custom server control to a web page?
What is client side state management?
What is difference between web api and web services?
What is jade template engine?
What are the properties of the eventargs argument when capturing keyboard events?
Which Is Faster MVC or ASP.net ?
What is preprocessor in .net?
What are sessions used for?
What is the difference between a default skin and a named skin?
How to register exception filter globally?
What is the use of autowireup in asp.net?
From which base class all web forms are inherited?
What can you do with asp.net?