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

What is the maximum length of textbox

1 Answers  


what are the State management and Its Uses

2 Answers  


User contro having 4 text boxes given validation controls. i want to execute validations after the button click event how it is?

3 Answers  


can i inherit one web applications into another web applications in asp.net?

7 Answers  


Why is string called immutable data type?

0 Answers  


What tags do you need to add within the asp:datagrid tags to bind columns manually

2 Answers  


Which template must you provide, in order to display data in a Repeater control?

3 Answers  


Can you set the session out time manually?

0 Answers  


how to debug web services on consumer side?

0 Answers   HCL,


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

4 Answers   eMids,


What are the ways of preserving data on a Web Form in ASP.NET?

0 Answers  


what is wpf and wcf in .net explain with an example?

2 Answers  


Categories