How to authenticate users using Web.Config ?



How to authenticate users using Web.Config ?..

Answer / chinnu

in web.config file we can specify the authentication mode

<authentication mode="windows/forms">

for form autentication we can wirte like this
<authentication mode="forms">
<form name="a.aspx" loginurl="login.aspx"
time out="30" protection ="all">

Is This Answer Correct ?    7 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

Explain security types in asp.net?

0 Answers  


What is the namespace used to store the information about the user?s locale?

1 Answers   NeoSoft, Siebel,


Types of state management techniques ?

6 Answers   Digital GlobalSoft,


Can we override the enablepartialrendering property of the scriptmanager class?

0 Answers  


What is the transport protocol you use to call a Web service?

2 Answers   Siebel Systems,






What are the disadvantages of view state / what are the benefits?

2 Answers   Siebel Systems,


Can the dictionary object be created in client?s scope ?

0 Answers   Satyam,


Does the following statement executes successfully: Response.Write(?value of i = ? + i);

4 Answers   TCS,


Explain about consistent programming model in the .NET framework?

0 Answers  


Why do we use datasource in asp.net?

0 Answers  


what is NET Framework ?

4 Answers   TCS,


State management in asp.net ?

8 Answers   Accenture,


Categories