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

Types of objects in ASP?

8 Answers   Beget, Microsoft,


What is viewstate parameter?

0 Answers  


Explain the disadvantages of viewstate?

0 Answers  


How ASP and ASP.NET page works? Explain about asp.net page life cycle?

0 Answers  


What is source control?How to use in asp.net?

1 Answers  






Is There any Third party tools are using in .Net Technologies? Can u Explain?

4 Answers   HCL,


what is the trace in ASP.NET

4 Answers  


Is global asax mandatory?

0 Answers  


Write a code snippet to implement the indentation in json in web api.

0 Answers  


How do you manage session in ASP and ASP.NET?

1 Answers   Microsoft,


If you want to write your own dot net language, what steps you will you take care?

0 Answers  


What is the difference between ExecuteReader,ExecuteNonQuery and ExecuteScalar.

8 Answers  


Categories