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 |
Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?
main difference between asp.net2.0,asp.net1.1,asp.net1.0
15 Answers Inflexion, Infosys, iSoft, Microsoft, Prakruthi,
how can u display multi language (i.e english,spanish...) web site?
What is x xss protection?
Is it possible to change the index of primary key on table?
Explain the concept of MVC Scaffolding?
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process?
1 Answers Patni, Perot Systems, Sedna Technology,
If we write return statement in finally block will it works fine or throws any error?
Code for updating the database by entering the data into textboxes in aspx form?
What is runtime host ?
How you can return View from ASP.NET Web API method?
What?s the difference between Response.Write() andResponse.Output.Write()?