You configure a SharePoint Server 2010 Service Pack 1 (SP1) farm. You have a site collection named
http://www.contoso.com based on the Team Site template that has anonymous access enabled. You
need to ensure that anonymous users cannot view Application-level pages. What should you do?
A.
Grant Full Control permissions to the Sales SharePoint user group.
B.
Grant Design permissions to the Sales SharePoint user group.
C.
From the SharePoint 2010 Management Shell, run the following cmdlet:
Disable- SPFeature ViewFormPagesLockdown – Url “http://www.contoso.com”
D.
From the SharePoint 2010 Management Shell, run the following script:
$ spWeb = Get- SPWeb “http://www.contoso.com/sales” $ spWeb.BreakRolelnheritance ($false) $
spWeb.Disp ose ()
E.
Add User1 to the Site Owners group.
F.
Add User1 as a site collection administrator.
G.
From the SharePoint 2010 Management Shell, run the following cmdlet:
Enable- SPFeature DocumentSet – Url “http://www.contoso.com”
H.
From the SharePoint 2010 Management Shell, run the following script:
$ spWeb = Get- SPWeb Mhttp://www.contoso.com/sales” $ spWeb.BreakRolelnheritance ($true) $
spWeb.Dispose ()
I.
From the SharePoint 2010 Management Shell, run the following cmdlet:
Enable- SPFeature ViewFormPagesLockdown – Url http://www.contoso.com
J.
From the SharePoint 2010 Management Shell, run the following cmdlet:
Disable- SPFeature DocumentSet – Url “http://www.contoso.com”
Explanation: