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 |
Explain how can you debug your .net application?
What is the difference between file-based dependency and key-based dependency?
How can u handle Exceptions in Asp.Net?
what are the levels of securities need to be considered for the finincial web application?
What are the different methods of session maintenance in asp.net?
What is latest version of asp.net mvc? : Asp.Net MVC
What I need to create and run an asp.net application?
Explain the difference between inline and code behind - which is best in?
How to sign out from forms authentication?
What is web router?
Explain culture and uiculture values.
What is smpte vc-1?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)