Which code segment of the Web.config file should you use?

You create an intranet Web site for management of project documents. You need to enable all users to browse documents on the site. Only members of the administrators group must be able to upload files. Which code segment of the Web.config file should you use?

You create an intranet Web site for management of project documents. You need to enable all users to browse documents on the site. Only members of the administrators group must be able to upload files. Which code segment of the Web.config file should you use?

A.
<allow verbs="GET" users="*" /><deny verbs="POST" users="*" /> <allow verbs="POST" roles="Administrators" />

B.
<allow roles="Administrators" />
<deny users="*" />

C.
<allow users="Administrators" />
<allow users="*" />

D.
<allow verbs ="POST" roles="Administrators" />
<deny verbs="POST" users="*" />
<allow verbs="GET" users="*" />



Leave a Reply 0

Your email address will not be published. Required fields are marked *