Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to authenticate users using web.config ?



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

Post New Answer

More ASP.NET Interview Questions

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

2 Answers   Siebel Systems,


Explain the main differences between asp and asp.net?

0 Answers  


If we add a textbox and give the required field validator,and i add two radio buttons 1 is yes another one is No.And i add another one server control button ,if i click the button ,if the radio button Yes is checked the validation control is fired ,if no the validation control is not fired.So what you used to solve this problem.

6 Answers   CTS,


How many time you can fill dataset in asp.net?

3 Answers   Syntel, Wipro,


What is the difference between CC and BCC?

0 Answers   MCN Solutions,


What is difference between Lambda Expression and LINQ in ASP.NET?

0 Answers   Viscus Infotech,


How to Separate background image and front image from original picture....

0 Answers   Sans Pareil IT Services,


we can able to display a MessageBox in asp .net without using any script langages?

8 Answers   ABC,


What is MVVM in dot net?

1 Answers   L&T,


What is the purpose of using MVC programming pattern in ASP.NET?

0 Answers   PUCIT,


How do I upload a file from my ASP.NET page?

0 Answers  


What is AppDomain?Explain how it works.

9 Answers   Tech Mahindra,


Categories