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 |
Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?
3. What goals do you have in your career?
how to retrieve property settings from xml .config file.
is gateway for sms continue connected for sending sms.how?
Why mvc is faster than asp.net? : Asp.Net MVC
What are the advantages and limitations of query string?
What are the different authentication modes in the .NET environment?
What does passport and windows authentication mean in ASP.NET?
What are Session states available and its Uses?
What is asp.net introduction?
Is asp net front end or backend?
Can we have 2 web config files?
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)