How to authenticate users using web.config ?
Answer / alb.shah
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
<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 ? | 6 Yes | 0 No |
Explain the concept of View Model in MVC?
what are the State management and Its Uses
Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?
What is difference between session and cookies in asp net?
what is asp and asp.net ?
2 Answers Inspira Technologies,
main difference between asp.net2.0,asp.net1.1,asp.net1.0
15 Answers Inflexion, Infosys, iSoft, Microsoft, Prakruthi,
What are the best practices to follow to secure connection strings in an ASP.NET web application?
What's the use of response.output.write()?
How is a property designated as read-only?
What is active web pages?
What data type does the RangeValidator control support?
What is the main use of Response.Output.Write()?