MCSD.NET - 70-310 Exam Question: Download MCSD.NET - 70-310 Exam PDF
Suppose You create an XML Web service named XYZService. You must ensure that this service meets
the following URL authorization requirements.
? Anonymous access must be disabled for XYZService.
? An authenticated user named User1 cannot access XYZService.
? All other authenticared users can access XYZService.
You configure Internet Information Services (IIS) to meet these requirements. You now need to
configure the authorization section in the Web.config file to properly authorize the users.
Which code segment should you use?
A. <allow users=?*? />.
<deny users=?User1? />
B. <allow users=??? />
<deny users=?User1? />
C. <deny users=?*? />
<deny users=?User1? />
<allow users=??? />
D. <deny users=??? />
<deny users=?User1? />
<allow users=?*? />
Answer:
D. <deny users=??? />
<deny users=?User1? />
<allow users=?*? />
<deny users=?User1? />
<allow users=?*? />