PrepAway - Latest Free Exam Questions & Answers

You need to ensure that the SharePoint ribbon is availa…

Adventure Works uses a SharePoint publishing site to host their public-facing website at http://
www.adventureworks.com. The website gives external users the ability to register and sign in to the site to buy
Adventure Works products.
You notice that publicly registered users see the SharePoint ribbon.
You need to ensure that the SharePoint ribbon is available only to content authors and administrators.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
If you designed a custom master page for your SharePoint 2010 and the ribbon is in your way, SharePoint has
a built-in control that lets you hide it from anonymous users in few easy steps. Open and check-out your master
page, find where your ribbon control starts or look for <WebPartPages:SPWebPartManager id=”m”
runat=”Server”/>. Place this control below <Sharepoint:SPSecurityTrimmedControl runat=”server”
Permissions=”AddAndCustomizePages”>. Find where your ribbon control ends or look for <div id=s4-
workspace> and place the closing control above it </SharePoint:SPSecurityTrimmedControl>. Save, check-in
the master page and publish it to see the changes. From now on, only logged in users with the right
permissions will be able to see the ribbon on the top.
Incorrect:
Not B: Permission should be set to AddAndCustomizePages not ManageSubWeb.
SharePoint, Hide the Ribbon from Anonymous Users http://www.topsharepoint.com/hide-the-ribbon-from-anonymous-users


Leave a Reply