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

In SP has contains 10 query,By Using Dataset Object I need to fetch 8th query of records? How?

5 Answers  


What is web application virtual directory ?

2 Answers   Satyam,


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

1 Answers  


What object is used to encapsulate a rowset? a) DataSet b) DataAdapter c) DataRowSet d) DataTable

2 Answers   Syntax Softtech,


Explain Optimization technique description?

0 Answers   Digital GlobalSoft,


What is the default Orientation property in a Menu control?

0 Answers   Sans Pareil IT Services,


Describe the difference between inline and code behind - which is best in a?

0 Answers  


Which property is used to identify the Page is Post Back in ASP.NET?

0 Answers   Sans Pareil IT Services,


What is inproc mode in session?

0 Answers  


What is the difference between pathparam and queryparam?

0 Answers  


How does cookies work in asp net?

0 Answers  


I have been asked in an interview What is your LOC(Line of Code)What will be the probable answer for that

1 Answers   HCL, Infosys, Mantec Consultants,


Categories