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 |
main difference between asp.net2.0,asp.net1.1,asp.net1.0
15 Answers Inflexion, Infosys, iSoft, Microsoft, Prakruthi,
What are the different types of validation controls in asp.net?
When Cookies are expired in ASP.NET?
0 Answers Sans Pareil IT Services,
What is advantage and disadvantage of viewstate
A brief difference between Session and Cookies in asp.net
Explain the differences between Server-side and Client-side code?
which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites
Which template must you provide, in order to display data in a Repeater control?
How to upload a file using file upload control inside the Update Panel???
Difference between ByVal and ByRef?
What is the T-SQL equivalent of IIF (immediate if/ternary operator) function of other programming languages?
Explain method to handle error using HttpError in Web API?