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

Describe the difference between a Thread and a Process?

4 Answers  


What is personalization? What are the properties available in personalization?

1 Answers  


can we call webservice in Html form?

1 Answers   Bank Of America, BirlaSoft, Microsoft,


What is the difference between session object and application object?

0 Answers  


Can you explain composite pattern?

0 Answers   QuestPond,


Is object a value type or referenced type?

2 Answers  


What is difference between inproc and outproc?

0 Answers  


Describe the differences between the lifecycles of Windows services and Standard EXE?

0 Answers   Siebel,


What is a web server? What are the load limits in it?

0 Answers   Wipro,


Can I have a unique key as foreign key?

0 Answers  


What are the various types of validation controls provided by asp.net?

0 Answers  


What is the difference between control and component?

4 Answers  


Categories