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 |
Describe the difference between a Thread and a Process?
What is personalization? What are the properties available in personalization?
can we call webservice in Html form?
1 Answers Bank Of America, BirlaSoft, Microsoft,
What is the difference between session object and application object?
Can you explain composite pattern?
Is object a value type or referenced type?
What is difference between inproc and outproc?
Describe the differences between the lifecycles of Windows services and Standard EXE?
What is a web server? What are the load limits in it?
Can I have a unique key as foreign key?
What are the various types of validation controls provided by asp.net?
What is the difference between control and component?
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)