How to authenticate users using web.config ?
Answer / alb.shah
if we are using form based authentication at that time in
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
inside the authentication tags
<forms name="appNameAuth" path="/"
loginUrl="login.aspx" protection="All" timeout="30">
<user name="jeff" password="test" />
<user name="mike" password="test" />
<deny users="?" />
|Is This Answer Correct ?||6 Yes||0 No|
1. Briefly describe your ideal job?
Is it possible to use two versions of assembly at the same time?If possible explain with code?
Why web api is better than wcf?
What symbol specifies the beginning of a query string?
How many types is controls is there in Asp.Net?If it means what are types of custom controls?Explain about user controls,Web server controls,Hrml server controls?
What is the difference between session and viewstate in asp.net?
What is a postback url?
What is the typical session identifier?
What is hidden field in asp.net?
What is an imagemap in asp.net?
List all templates of the repeater control.
How does viewstate work?