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 ?

Answers were Sorted based on User's Feedback



How to authenticate users using web.config ?..

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

How to authenticate users using web.config ?..

Answer / babu reddy

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

Is This Answer Correct ?    21 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

How to add DateTime Control in normal DataGrid Server Control?

0 Answers  


What is the use of autowireup in asp.net?

0 Answers  


Way of updating a table other than stored procedure and hard coded query?

2 Answers  


Explain the concept of MVC Scaffolding?

0 Answers   B-Ways TecnoSoft,


How to check the end of the record in Datareader?

2 Answers   Cognizant,


I need some questions regarding asp.net for 1.5yrs of Experience.

1 Answers  


What are the data types is possible to store in session? and can we store dataset in session?

4 Answers   eMids,


which event in global.asx that fires for every request of same user?

4 Answers   FactorH,


What is a viewstate?

0 Answers  


Difference between asp and asp.net?

4 Answers   Accenture,


What does clearing cache?

0 Answers  


what is new debug tools in asp.net ?

1 Answers  


Categories