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

What is Virtual path in ASP.Net

2 Answers   Proteans,


How do you add a javascript function for a link button in a datagrid?

2 Answers   Microsoft,


what are the events raised in asp.net page life cycle?in which stage view state can be loaded?

0 Answers   EDS,


What are client activated objects and server activated objects?

0 Answers  


What does asp.net stand for?

0 Answers  


Write code to send e-mail from an asp.net application?

0 Answers  


Why do we need Sessions?

0 Answers   QuestPond,


Explain what a diffgram is and a good use for one?

1 Answers   Siebel Systems, Syntax Softtech,


Can you edit data in the Repeater control?

11 Answers   CAC, Creative,


what is soap?

5 Answers   Cognizant, Microsoft, NCR,


How To Generate ConnectionString By Using Notepad??

2 Answers  


What is reflection and disadvantages of reflection ?

2 Answers   CTC, Microsoft,


Categories