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 / alb.shah

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

<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 ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How asynchronous call can be implemented using delegates?

984


How to display validation messages in one control?

974


What is viewstate? In which event of the page life cycle, is the viewstate available?

1015


how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool

2087


By default, Web API sends HTTP response with which of the following status code for all uncaught exception?

1594


Differences between “dataset” and “datareader”.

1026


Explain what is postback in asp. Net?

1061


How to add DateTime Control in normal DataGrid Server Control?

1078


Explain Optimization technique description?

1019


ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?

1917


Difference between overriding and overloading?

1249


What is viewstate information stored?

1058


What are the features that make asp.net more used framework? : asp.net mvc

1002


What is difference between singleton and single call?

1058


What is a reflection?

971