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
What is the difference between rest and restful?
Explain file-based dependency and key-based dependency.
Can you clarified A Web service can only be written in .NET or not?
What does asp.net stand for?
A web service can only be written in .net? State whether true or false.
when a request is made in Life cycle of ASP.NET page .
how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool
Is post back property in asp net?
Which is better viewstate or session?
What is session authentication?
Define web services in asp.net.
What are the media types of http requests and response?
How to create multi language website in asp.net mvc? : Asp.Net MVC
How to disable validator control by client side JavaScript?
What is the difference between Session and response.Redirect?