Interview Questions

How can be the web application get configured with the following authorization rules ...

ASP.NET and .NET WEB Questions and Answers


(Continued from previous question...)

How can be the web application get configured with the following authorization rules ...

How can be the web application get configured with the following authorization rules
* Anonymous users must not be allowed to access the application.
* All persons except David and John must be allowed to access the application.
o <authorization><allow roles ="*"><deny roles = "?"><</authorization>
o <authorization><deny users = "applicationname\David; applicationname\John" ><deny users = "*"></authorization>
o <authorization><deny users = "applicationname\David, applicationname\John" ><deny users = "?"><allow users ="*"></authorization>
o <authorization><allow users ="*"><deny users = "applicationname\David, applicationname\John" ></authorization>


authorization deny users = “applicationname\David, applicationname\John” deny users = “?” allow users =”*” /authorization

(Continued on next question...)

Other Interview Questions