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

In how many ways we can retrieve table records count?

1062


How does asp.net page work?

975


What is the file extension of web service?

1003


How to Separate background image and front image from original picture....

994


Which authentication uses a combination of windows and iis authentication?

1098


What is form method?

940


Explain about Automatic resource management?

1069


Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?

1028


What is scope of an application variable in asp.net?

1003


What is use of <% %> in asp.net?

1022


What is the maximum number of classes that can be contained in one dll file?

1223


What are the advantages and disadvantages of session?

1131


How we can force all the validation controls to run?

1002


What are the ways to sending the data in ASP.NET page?

1103


How can we access static variable?

1109