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...

We have 2 sites in which one site allows the user with out
asking credentials and second one ask for credentials
through a log page. What might be the configurations
settings for both sites? We can use IIS and web.config
files together.

Answer Posted / guest

First one using windows authentication as follows.

Set Windows authentication in IIS.
And in web.config
<authorization>
<deny users=”?”/>
</authorization>

For the second one.
We set IIS authentication as none. And in web.config file
we mention as follow.

<authentication mode=”forms”>
<forms login=”login.aspx”/>
</authentication>
<authorization>
<deny user=”?”/>
<authorization>

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define session in asp.net.

1035


Why do we use asp.net?

1084


Which asp.net objects encapsulate the state of the client and the browser?

1147


What is simple data binding?

1004


What are cookies in asp.net?

1115


Can we use html in asp.net?

984


What are server-side comments in ASP.NET?

990


What are validators and list some validators of asp.net?

1017


Explain what is event bubbling?

1065


What are the different authentication modes in asp.net?

1064


Do you know using sql cache invalidation?

1079


What r the asp.net list controls and difference between them?

1084


What are the types of session in asp.net?

1014


What is the procedure to create the environment for asp.net? : asp.net mvc

1115


What is session mode in asp.net?

1091