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.



We have 2 sites in which one site allows the user with out asking credentials and second one ask f..

Answer / 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

More ASP.NET Interview Questions

Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?

1 Answers  


3. What goals do you have in your career?

0 Answers   Swatz Oils,


how to retrieve property settings from xml .config file.

0 Answers  


is gateway for sms continue connected for sending sms.how?

0 Answers  


Why mvc is faster than asp.net? : Asp.Net MVC

0 Answers  


What are the advantages and limitations of query string?

0 Answers  


What are the different authentication modes in the .NET environment?

2 Answers   Veritas,


What does passport and windows authentication mean in ASP.NET?

0 Answers   Amdocs,


What are Session states available and its Uses?

0 Answers   CTS, iLogic,


What is asp.net introduction?

0 Answers  


Is asp net front end or backend?

0 Answers  


Can we have 2 web config files?

0 Answers  


Categories