Logo
Lose Weight
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows Server

SharePoint 2010 : Farm Governance - Restricting web part access in the farm

6/12/2013 11:21:11 AM

Web parts are the components of an organization's site that provide modularity and flexibility. Web parts are ASP.NET server-side modules that are available to be put into a page via a web part zone. The modules perform all different kinds of functions based on an organization's needs.

SharePoint 2010 Enterprise comes with 60+ web parts. In addition, an organization can create their own web parts based on business requirements.

There are two considerations to think about with regards to governance of web parts in the context of this recipe.

  • What a web part can be allowed to do

  • What web parts are available to be put onto a page

Getting ready

You must have farm-level administrative permissions to the Central Administration site.

How to do it...

  1. Open up SharePoint 2010 Central Administration website.

  2. Click Application Management. Under the section Web Applications, click Manage Web Applications.

  3. The available web applications will be listed. Click to the right of the web application you wish to manage. The entire line will turn blue and the ribbon will light up.

  4. On the ribbon, there is a button called Web Part Security; click that. The following screenshot appears:

    • Web Part Connections: The strength of web part connections is that information from one web part can be passed to another web part.

    • Online Web Part Gallery: This is a web part gallery that is either available from Microsoft or one that has been created.

    • Scriptable Web Parts: This will either allow or prevent contributors from adding scripts in a web part. An example of this is JavaScript in a Content Editor web part. Retain the default value.

    Click OK.

How it works...

This recipe shows web part security at a web application level. Everything shown applies to all site collections under the web application. It works as a blanket policy. It is not web part security at a granular level.

There's more...

There are times when an organization needs to expose certain web parts to targeted users. Another way of saying this is managing which web parts appear in the Web Part Gallery based on a user's role.

The best way to do this is at a site collection level. You must be a Site Collection Administrator to do this.

  1. Create the necessary SharePoint groups and add the appropriate users. Creating a matrix of groups and web parts will facilitate the actual assigning of permissions.

  2. Select Site Actions | Site Settings.

  3. Under the section named Galleries, select Web Parts.

  4. Choose the web part that you wish to change permissions on by clicking the edit icon.

  5. The form that appears has a ribbon with a button called Manage Permissions.

  6. Adjust the permissions to represent the organization's needs.

Other -----------------
- SharePoint 2010 : Farm Governance - Installing a feature and activating it
- Microsoft Lync Server 2010 : Planning for Voice Deployment - Voice Resilience
- Microsoft Lync Server 2010 : Planning for Voice Deployment - Voice Routing
- Windows Server 2003 on HP ProLiant Servers : The Pilot
- Windows Server 2003 on HP ProLiant Servers : Build Guides
- Windows Server 2003 on HP ProLiant Servers : File and Print Services, Selection of ProLiant Servers for the Enterprise
- Maintaining Dynamics GP : Troubleshooting issues with a DexSQL log
- Maintaining Dynamics GP : Speeding security setup with User Copy
- Maintaining Dynamics GP : Validating balances with the Reconcile utility
- Maintaining Dynamics GP : Resolving errors with the Check Links utility
- System Center Configuration Manager 2007 : Creating SQL Reporting Services Subscriptions
- System Center Configuration Manager 2007 : Creating New Reports
- Windows Server 2008 : Working with the Schema - Modifying the Schema with adprep, Registering the Active Directory Schema Snap-In
- Windows Server 2008 : Promoting and Demoting a Domain Controller - Using dcpromo to Install from Media, Forcing Removal of Active Directory
- BizTalk Server 2009 : Use The Business Rule Engine (part 2) - What Are the Artifacts That Constitute a Business Rule?
- BizTalk Server 2009 : Use The Business Rule Engine (part 1)
- Microsoft Dynamics CRM 4 : Scribe Integration - Scribe Insight Architecture
- Microsoft Dynamics CRM 4 : Scribe Integration - Integration Options
- Maintaining Dynamics GP : Safeguarding data by Backing Up everything
- Maintaining Dynamics GP : Improving stability by Managing Dictionaries
 
 
Most view of day
- Windows Server 2012 Requirements and Installation : Customizing the Interface with Features on Demand
- Windows Phone 8 : Developing for the Phone - Application Lifecycle (part 3) - Tombstoning
- Microsoft Systems Management Server 2003 : Queries (part 1) - Query Elements
- System Center Configuration Manager 2007 : Network Design - Network Discovery
- Microsoft OneNote 2010 : Using the Research and Translate Tools (part 3) - Translating Text with the Mini Translator
- Microsoft Word 2010 : Creating Desktop Publishing Documents - Adding a Watermark
- Microsoft Visio 2010 : Linking External Data to Shapes (part 2) - Preparing the Light Bulb Shape for Data Linking
- Windows Phone 8 : Configuring Basic Device Settings - Controlling the Keyboard’s Behavior (part 3) - Customizing the Keyboard’s Behavior
- Microsoft Visio 2010 : Creating and Exporting SharePoint Workflow Diagrams
- Windows Phone 7 : The Silverlight Controls (part 8) - Layout Controls - StackPanel Controls, Canvas Controls
Top 10
- MDT's Client Wizard : Package Properties
- MDT's Client Wizard : Driver Properties
- MDT's Client Wizard : Application Properties
- MDT's Client Wizard : Operating System Properties
- MDT's Client Wizard : Customizing the Deployment Share
- Windows Server 2012 : Software and User Account Control Administration (part 5) - Maintaining application integrity - Configuring run levels
- Windows Server 2012 : Software and User Account Control Administration (part 4) - Maintaining application integrity - Application access tokens
- Windows Server 2012 : Software and User Account Control Administration (part 3) - Mastering User Account Control - Configuring UAC and Admin Approval Mode
- Windows Server 2012 : Software and User Account Control Administration (part 2) - Mastering User Account Control - Elevation, prompts, and the secure desktop
- Windows Server 2012 : Software and User Account Control Administration (part 1) - Software installation essentials
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro