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 ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is http request and response?

1022


Explain different authentication modes in asp.net?

1176


What are the new login controls in asp.net 2.0?

989


Explain a program using razor view engine to create a simple application? : asp.net mvc

1014


How would you implement inheritance using c#?

1004


Define secured sockets layer.

961


Describe session handling in a webfarm, how does it work and what are the limits?

1081


Explain the different types of assemblies?

962


What is asp.net with mvc? : Asp.Net MVC

989


Which object encapsulates state or data of a user?

1069


How would ASP and ASP.NET applications run at the same time on the same server?

2511


What is the postback property in asp.net?

990


What are sessions in asp net?

1012


What is cookies in asp net?

946


Define static constructor?

1024