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 / 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 |
Types of objects in ASP?
What is viewstate parameter?
Explain the disadvantages of viewstate?
How ASP and ASP.NET page works? Explain about asp.net page life cycle?
What is source control?How to use in asp.net?
Is There any Third party tools are using in .Net Technologies? Can u Explain?
what is the trace in ASP.NET
Is global asax mandatory?
Write a code snippet to implement the indentation in json in web api.
How do you manage session in ASP and ASP.NET?
If you want to write your own dot net language, what steps you will you take care?
What is the difference between ExecuteReader,ExecuteNonQuery and ExecuteScalar.