linked linked linkedin whatsapp remove
Feedback

Microsoft .Net Technologies

You are creating an ASP.NET application for Google. The company uses Microsoft Windows authentication. All users are in the Google domain.

You want to configure the application to use the following authorization rules:

1. Anonymous users must not be allowed to access the application.

2. All employees except Raj and Shiva must be allowed to access the application.


Which code you will apply to configure the application?

 <authorization>

<deny users=' Google \Raj, Google \Shiva'>

<deny users='?'>

<allow users='*'>

</authorization>

<authorization>

<deny users=' Google \Raj, Google \Shiva'>

<allow users='*'>

<deny users='?'>

</authorization>

 <authorization>

<allow users='*'>

<deny users=' Google \Raj, Google \Shiva'>

<deny users='?'>

</authorization>

 <authorization>

<allow users=' Google \Raj, Google \Shiva'>

<allow users='*'>

</authorization>

Answer:

 <authorization>

<deny users=' Google \Raj, Google \Shiva'>

<deny users='?'>

<allow users='*'>

</authorization>


Note: This Question is unanswered, help us to find answer for this one

Related Microsoft .Net Technologies Questions and Answers: