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 |
What is the typical session identifier?
how to include timer or counting time to display next page in asp.net
What is view state and how this can be done and was this there in asp ?
3 Answers Accenture, BirlaSoft, CTS, Mphasis,
What is the base class of .NET?
What is boxing and unboxing in asp.net?
RequiredFieldValidator--write code in javascript
What are the differences between code behind and code inline?
what is advantage of developing in asp.net.why the same can't be developed in Java or other web developemnt tool.what are advantages of developers.
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know
Less than one page, how many windows will you be able to maintain?
Do session use cookies in asp net?
What is application variable in asp.net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)