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 |
What is Virtual path in ASP.Net
How do you add a javascript function for a link button in a datagrid?
what are the events raised in asp.net page life cycle?in which stage view state can be loaded?
What are client activated objects and server activated objects?
What does asp.net stand for?
Write code to send e-mail from an asp.net application?
Why do we need Sessions?
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?
what is soap?
5 Answers Cognizant, Microsoft, NCR,
How To Generate ConnectionString By Using Notepad??
What is reflection and disadvantages of reflection ?
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)