Are you suffering from TMSTGNS (Too Much Security Trimmed Global Navigation Syndrome)?

Is your site collection acting sluggish? Seeing load times of 5-15 seconds on any page or resource? Are other web applications and site collections in your farm acting just fine? Are server resources not over utilized? You may be suffering from Too Much Security Trimmed Global Navigation Syndrome (TMSTGNS). We will walk through some background information, symptoms, diagnosis, as well as ways you can bring your site collection back to life, and still allow your users to get where they need to go.

What is the “Global Navigation”?

Also known as the Top Navigation, or the Top Link Bar in SharePoint. You see it as the horizontal navigation at the top of your pages. See the image below as a reference (highlighted in yellow):

image

What is the cause of TMSTGNS?

The global navigation in SharePoint is generally used to get around to sites and pages within your site collection –  based on the configuration from the Look and Feel groups in the Site Settings page for each of your sites. This is found under Site Actions > Site Settings > Look and Feel > Navigation

image

And once there, you can configure the dynamic nature of the menus (to automatically show subsites and pages for each of the sites, and whether or not to inherit navigation from those sites)

image

Also, by default, there are some settings which are not displayed on this page, which affect your navigation. Those settings are found at the site collection level under Site Actions > Site Settings > Site Collection Administration > Site collection navigation

image

The settings found within this little-used configuration screen are the root cause of TMSTGNS, and give the syndrome part of it’s name, Security Trimmed (ST).

image

As you can see in the highlighted sections above, in this screen are options to Enable security trimming, and to Enable audience targeting. What do these do you ask?

Security trimming, as the description above implies, will hide navigation links for sites or pages the user does not have access to. For instance, if only the Finance department had access to the Finance department team site, then with this option enabled, people who are in Human Resources would not see the navigation node for Finance. Now, this sounds like a great idea, right?

Audience targeting is similar. Under Site Actions > Site Settings > Look and Feel > Navigation, when you are adding a link or a header, you have the option to specify a targeted audience, so only those who are within those audiences can see those links.

SNAGHTML13964a3f

Yes, it is a good idea, keep things hidden that shouldn’t be seen if you do not have access, however, as your site collection grows to hundreds of sites, each which hang off of the Global Navigation, either directly there, or, which are found one or two levels below in navigation flyouts (see image below)….

image

SharePoint needs to iterate through EACH AND EVERY NAVIGATION NODE, and check if the current user has access to the site, as well as if they are in the audience for that link, EVERY TIME THE NAVIGATION LOADS! That is a lot of recursive security checking, and can take time. The more sites you have, the longer this will take.

You can see this in action especially with the Developer Dashboard running when your site has one or more team sites enabled (while the example below is minimal, I’ve seen this go on in some instances for pages and pages and pages):

image

Now, you see for each of the navigation nodes, it takes roughly 20ms for each link (the area above with the hidden sections to protect some private data) to be checked for access and audiences, which is the EnsureListItemsData method calls shown below each link. Multiply this by the number of navigation nodes you have, and you can probably come pretty close to the amount of time it takes for your pages to load. I have literally seen CPU spikes on servers 25% and higher utilization than normal with the W3WP.exe worker processes for IIS while this operation is taking place as well. It utilizes a lot of CPU to accomplish this task.

The quick fix for this? uncheck those two boxes under the Site collection navigation configuration screen. You will notice a huge performance improvement. This means however, that all of your users can see all of the links within the Global Navigation.

 

But what if I need to hide links, and keep them available to the users who need them?

This is a great question, and one that I can use the classic consulting phrase on – “it depends”. You may find that you can add these links to an audience targeted web part underneath the main site they are on. This may take an extra click, but, security is not transparent. Just compare the time it takes to go through an airport now than it did before 2001. If you need security, and performance, than a small subset of your users having to make an extra click might not be so bad. Ultimately it is up to the decisions you make within your organization, and how these work-arounds can and will be carried out and implemented.

What else can I do?

There are many options other than just disabling the security and audience trimming on the global navigation. Those might be building a custom navigation control (development), to implement security trimming for links in a different manor, such as checking a list which has ONLY the links to be trimmed from the Global Navigation, rather than having to check each link.

Using a list-based navigation source with item permissions enabled – this is also security trimming, however, it is only within a single list, so performance should be better, but, it will be slower than a navigation source without any security trimming.

You may also implement multiple navigation layers, one without security trimming, and one with a custom source that is security trimmed in the master page.

As I said, there are many options – you may need to think outside the box a bit to get to the best resolution for your organization, but at the very least, your pages will be loading a lot faster when you are not suffering anymore from TMSTGNS, thus giving your end users, and yourselves, a better SharePoint experience.

 

Are you a survivor of TMSTGNS?

Then share your story with everyone else in the comments below about how you were able to defeat this horrible performance degrading disease.

Speaking at SharePoint Saturday Austin

I am pleased to announce that I will be presenting at SharePoint Saturday Austin on January 21st, 2012, presenting my session on Planning and Configuring Extranets in SharePoint 2010, with my colleague Donal Conlon.

Information on the session is below:

Planning and Configuring Extranets in SharePoint 2010

Session Level: 300
Session Type: IT Pro / Admin
Most companies, large or small, require contact and collaboration with external entities, whether they are vendors, clients, or contractors. SharePoint gives us the ability to open up portals for collaboration with these external entities – this session will show you how to accomplish this using SharePoint 2010.

We will review what is required to make SharePoint “open” to the external world, discuss scenarios regarding security and privacy, as well as walk through configuring Forms Based Authentication, Claims Based Authentication, as well as using Business Connectivity Services in SharePoint 2010, to authenticate, and manage our external users.

Once completing this session, you should have a firm grasp on how to configure an extranet environment using SharePoint 2010, as well as what should be considered during the planning of your extranet scenarios.

I will also be giving away 2 copies of the book I am working on of the same subject.

About SharePoint Saturday Austin:

SharePoint Saturday Austin is a joint effort headed up by Jim Bob Howard and Matthew Lathrop, but made possibly only through the dedication and commitment of our volunteers, sponsors, the local Central Texas SPUG, the speaker community, and all of our attendees.

If you have any questions or would like to volunteer, please us the contact form on this page.

SharePoint Saturday Austin is part of a national and international calendar of free events, organized and overseen by the SharePoint Saturday Board of Directors. For more information about SPS and other events, visit: www.sharepointsaturday.org.

When and where will this magical event be held, you ask?

SharePoint Saturday Austin (#SPSAusTx)
Saturday, January 21, 2012
AT&T Executive Education and Conference Center, Austin, TX
8AM – 5PM
SharePint following ’til 7PM

Hope to see you there!

Registration Open for Boston Area SharePoint Users Group on 1/11/12

Registration is now open for the January 11, 2012 Boston Area SharePoint Users Group Meeting in Waltham, MA.

January 11th, 2012 Meeting Information – Waltham

PRESENTER
The presenter for our next meeting is Scott Jamison, Chief Architect and CEO for Jornata. He will be presenting "Making SharePoint 2010 ROCK by Increasing Findability".

Session Abstract
Want to make it easier for users to locate the right content, whether they’re browsing or searching in SharePoint? In this session, Scott shows you real-world ways to get the most out of key features like metadata, content search, people search, cloud tags, status feeds, list views, and content contribution.

About Scott
Scott Jamison is a SharePoint MVP and MCM. He’s also the Chief Architect and CEO at Jornata, a top-tier SharePoint consulting firm.

MEETING SPONSOR – CubisOne
CubisOne provides consulting and IT services to clients globally. CubisOne delivers unmatched business value to customers through a combination of process excellence, quality frameworks and service delivery innovation. By leveraging our onshore, offshore and onsite capabilities, our customers enjoy decreased costs, increased profitability.


RAFFLE PRIZES

We will be handing out raffle tickets at the BASPUG meetings.

LOCATION
We will be meeting at the Microsoft Waltham office, located on the 6th floor, at 201 Jones Road, Waltham, MA.

LINKED IN

Join our group on LinkedIn today to connect with the rest of the BASPUG members, and spread the word!


FACEBOOK

We are also on facebook! http://www.facebook.com/#!/pages/Boston-Area-SharePoint-User-Group/113652405354617


TWITTER
Follow news about the Boston Area SharePoint Users Group on twitter by following us @BASPUG, and by using the hashtag #BASPUG


WEB
Visit the Boston Area SharePoint Users Group website at http://www.bostonsharepointug.org

Speaking at SharePoint Saturday Virginia Beach

I cannot believe it has been 4 years since SharePoint Saturday started, and I am honored to be speaking at the very place where it all started, at SharePoint Saturday Virginia Beach! Who knew that in 4 years, SPS is now a GLOBAL phenomenon, in almost all parts of the world? I owe a lot to SharePoint Saturday, as it gave me my start in speaking on SharePoint almost 4 years ago in Boston.

I will be presenting “Planning and Configuring Extranets in SharePoint 2010”. I will also be giving away 2 copies of my upcoming book of the same topic. You must be present to win, obviously 🙂

Planning and Configuring Extranets in SharePoint 2010

Session Level: 300
Session Type: IT Pro / Admin
Most companies, large or small, require contact and collaboration with external entities, whether they are vendors, clients, or contractors. SharePoint gives us the ability to open up portals for collaboration with these external entities – this session will show you how to accomplish this using SharePoint 2010.

We will review what is required to make SharePoint “open” to the external world, discuss scenarios regarding security and privacy, as well as walk through configuring Forms Based Authentication, Claims Based Authentication, as well as using Business Connectivity Services in SharePoint 2010, to authenticate, and manage our external users.

Once completing this session, you should have a firm grasp on how to configure an extranet environment using SharePoint 2010, as well as what should be considered during the planning of your extranet scenarios.

What’s SharePoint Saturday Virginia Beach?
SharePoint Saturday Virginia Beach is an educational, informative & lively day filled with sessions from respected SharePoint professionals & MVPs, covering a wide variety of topics focused on Microsoft SharePoint technologies.

SharePoint Saturday Virginia Beach is FREE, open to the public and is your local chance to immerse yourself in SharePoint!

When is SharePoint Saturday Virginia Beach?
January 7, 2012, Saturday

Schedule outline is listed below and we are currently looking at over 60 sessions for the event, including some sessions for the City of VA Beach Public Schools.
7:30 am – 8:00 am – Registration & Breakfast
8:00 am – 8:45 am – Welcome and Keynote
8:50 am – 10:00 am – First Sessions
10:10 am -11:20 am – Second Sessions
11:30 am -12:40 pm – Third Sessions
12:40 pm -1:30 pm – Lunch
1:30 pm – 2:40 pm – Fourth Sessions
2:50 pm – 4:00 pm – Fifth Sessions
4:10 pm – 5:20 pm – Sixth Sessions
5:30 pm – 6:00 pm – Closing & Giveaways

Where will SharePoint Saturday Virginia Beach be held?
Virginia Beach Advanced Technology Center
VA Beach Campus of Tidewater Community College
1800 College Crescent
Virginia Beach, VA 23453
http://www.vbatc.com

For more information and to register, visit the site here: http://www.sharepointsaturday.org/virginiabeach

Presentation and Resources from 12/14/11 FCSPUG

imageIt was earlier this year when I spoke with Bill Nagle of K2 about getting a user group up and running in Fairfield, CT. After many months later of successful meetings, I was happy to be able to go down and present to the group. The meetings themselves are hosted at Bigelow Tea, which was an interesting place – great facility, and the air smelled like tea 🙂 They even gave me a variety box of teas for coming down – I fully intend to enjoy it all!

Thanks again to Bill Nagle of K2 for spearheading the group there, Bigelow Tea for hosting the meeting, traffic for not being terrible (it’s about a ~6 hour round trip to Fairfield), Travel America for their awesome rest stops, and last, but certainly not least, everyone who came out for the meeting!

Below are my slides (minimal) from the meeting, as well as a link to the SPBasePermissions enumeration PDF I mentioned, as well as a link to Eric Kraus’s blog post with the PowerShell script to display all Custom Actions within the farm.

Please let me know if you have any questions or comments on the material in the comments below!

SPBasePermissions class enumeration PDF: http://go.gvaro.net/SPBasePerms

Erik Kraus’s PowerShell Script to list all Custom Actions in a Farm: http://blogs.msdn.com/b/ekraus/archive/2010/05/03/list-all-customactions-in-the-farm.aspx

SharePoint 2010 Balsamiq Mockups Template

If you haven’t used Balsamiq Mockups before, you should check it out. It is an awesome tool for generating on the fly wireframes for SharePoint, and just about everything else.

Now that you’ve had a chance to look at it (and download and play with it), you are probably thinking… hey, I work in SharePoint, is there a good starter template I can use? Well, I am glad you asked. My good buddy, and colleague, The James Sturges, came up with a great template for it. Go and check out his post on the matter here: http://sharepoint.jsturges.com/2011/11/sp2010-wireframe-template/

Presentation from 12/13/11 CTSPUG

A big thank you to the Connecticut SharePoint User Group (CTSPUG) for having me down last night to deliver my presentation (slides below) on Best Practices in SharePoint Development. While the group itself has been around for 10 years (CT.Net), this was the second official SharePoint UG meeting, and I was happy to be a part of it! A big crowd too! The room was packed, and thankfully, I heard no snoring 🙂

As I mentioned at the beginning of the presentation, there are a lot of slides so you can have them for review afterwards, as we covered at lot of information. Below is a copy of the presentation on slideshare.

If you were at the session, or even wanted to attend but could not make it, please feel free to contact me in the comments below with any questions on the material.

Speaking at the Fairfield County SharePoint User Group (FCSPUG) on December 14th, 2011

imageUPDATE 12/14/11: 2011 – not 2012! As in tonight!

It appears next week is Connecticut week! In addition to speaking at the Connecticut SharePoint Users Group (CTSPUG) on December 13th, I will be headed back into The Constitution State again on Wednesday to deliver a presentation to the Fairfield County SharePoint Users Group!

Presentation information below…

Title: The Ribbon UI and Custom Actions in SharePoint 2010

Abstract: Custom Actions control features in SharePoint such as the List Item Menu, the Site Actions menu, toolbars, and the links within the Site Settings page, as well as the Ribbon UI in SharePoint 2010.

Learn how to leverage Custom Actions to extend the SharePoint User Interface. This session will describe the basics of Custom Actions, demonstrations to build and apply them in SharePoint as they relate to our lists using SharePoint Designer 2010, as well as provide resources for additional information.

Meeting Agenda:
5:30 – Eat & Greet: Food/Drink courtesy of K2
6:00 – News: Commnents from meeting organizers
6:15 – Session Keynote: The Ribbon UI and Custom Actions in SharePoint 2010
7:15 – Wrap-Up: Announcements and Giveaway
7:45 – SharePint @ Field, 3001 Fairfield Ave

I look forward to seeing you there! For more information, and to register for the meeting, please visit: http://www.sharepointusergroup.com/FCSPUG/default.aspx

Speaking at the Connecticut SharePoint User Group (CTSPUG) on December 13th, 2012

I am pleased to announce that I will be speaking at the Connecticut SharePoint User Group (CTSPUG) next week on Tuesday, December 13th, from 6-8PM.

I will be delivering a presentation I normally do with one of my partners-in-crime, Mark Rackley (@mrackley), but I will be going solo on this one, so I may need a stand-in to poke fun at…

Session Title: SharePoint Development Best Practices a/k/a: Just Freakin’ Work! Overcoming Hurdles and Avoiding Pain with SharePoint Development

Abstract: “Why am I getting a security error??” “Why does my code work sometimes, but not others?” “I wonder if McDonalds is hiring.” Writing custom code in SharePoint opens up unlimited possibilities but also throws many hurdles in your way that will slow you down if you don’t take them into account. So, before giving up and searching for careers in the fast food industry, equip yourself with the knowledge you need to succeed in writing custom code for SharePoint.

Attendees will learn:
1. Commonly used methods to improve functionality and performance
2. Best practices for disposing of SP Objects
3. How to avoid common issues when writing custom code for SharePoint

PREREQUISITES: Developers need to have a basic knowledge of SharePoint, know C# and be comfortable in Visual Studio.

For more information on the CTSPUG, and to register for the meeting, please visit: http://ctdotnet.org/CTSPUG.aspx I hope to see you there! I had fun speaking in Hartford at the last SharePoint Saturday Hartford, and am looking forward to going back!

Registration Open for Boston Area SharePoint Users Group on 12/12/11

BASPUG_195square_initialsRegistration is now open for the December 12th, 2011 meeting of the Boston Area SharePoint Users Group.

Please note the date change for this month’s meeting!!

December 12th, 2011 Meeting Information – Cambridge

PRESENTER
The presenter for our next meeting is Richard Harbridge, Senior SharePoint Evangelist for Allin Consulting. He will be presenting "Is Your SharePoint Really Healthy? What’s The Right Prescription?"

Session Abstract
In many organizations SharePoint is a critical enterprise platform. As an organization matures the platform must mature and grow along with it to ensure it can continue to meet/exceed the needs of the business. If the SharePoint implementation is unhealthy or has problems these will compound overtime and may lead to solution, project and potentially even platform failure. This talk is about how to ensure that never happens.

What we will discuss in this session:

  • A “SharePoint Health Check” which help will identify how “Healthy” your SharePoint Implementation is in the following areas:
    • SharePoint Infrastructure
    • SharePoint Performance
    • SharePoint Security
    • SharePoint Integration
    • SharePoint Search
    • SharePoint Taxonomy
    • SharePoint Governance
    • SharePoint User Adoption
    • SharePoint Usability
    • SharePoint Development
  • A “SharePoint Prescription” You will learn about many SharePoint Best Practices that can help make your SharePoint environment healthier based on the above mentioned areas.

About Richard
Richard Harbridge is an internationally recognized expert in Microsoft SharePoint and is a technology and business evangelist with deep expertise in information architecture, enterprise content management, and technology strategy. He has defined, architected, developed and successfully implemented well over a hundred SharePoint solutions from small implementations on a single server to over 80,000+ user implementations in international organizations.

As a sought-after speaker he often shares his insights, experiences, and advice around collaboration, knowledge management, social computing, ROI, governance, user adoption and training at many industry events.

Richard hopes to see you/speak with you at the Boston Area SharePoint User Group as it’s an amazing community where many people exchange and share experience, knowledge, and relationships to help us all become even better at our jobs and the things we are passionate about.

MEETING SPONSOR – Certeon
Certeon is the Application Performance Company. aCelera, our suite of software WAN optimization products delivers fast and secure data transfer for any user accessing any application, on any device, across any network.

As enterprises aim to make their IT infrastructure flexible for business agility, contain IT costs and deal with regulatory changes, they are adopting a number of initiatives:

  • Centralization of servers to data centers
  • Consolidation of hardware using virtualization
  • Reduction in the number of data centers
  • Increasing globalization with more telecommuters, road warriors and other remote workers
  • Transition to network based backup and disaster recovery network replication
  • Leveraging public cloud services

The IT infrastructure is going through an evolution and the Wide Area Network (WAN) is now the backbone of both private and public cloud services. Each of the initiatives listed above further drives more and more remote access to data. If nothing is done, user productivity drops as WAN links are clogged and costs go up as IT tries to increase WAN links as consumption rises.

In this new world WAN optimization is not an option but a necessity. At Certeon we believe WAN optimization should not be considered as a point solution to solve pain at a couple of remote sites; instead it should be thought of a strategic initiative for the entire infrastructure. When deployed across the board at all points of access, CIOs and IT administrators will no longer have to worry where the data and where the user are. Data will be available instantly at LAN like speeds anywhere in the world.

Our mission is to deliver best of breed WAN optimization and application acceleration technology at a cost that is value based such that enterprises and cloud providers can afford to deploy it at every point of access in the network. No longer should you have to worry about the network or where the data is located, you should have instant access to it no matter where you are. Our software is scalable to be installed in the largest enterprise or a cloud provider’s infrastructure.

Only a software solution can deliver the lowest Total Cost of Ownership (TCO) that CIOs are searching for. Some examples of how costs can be saved from software versus hardware based solution include remote installation to anywhere in the world, leveraging commodity hardware and corporate standards for sparing and maintenance, and maximizing consolidation initiatives like virtualization to reduce cooling, power and rack space costs.

SUSTENANCE
Food and beverages will be provided at the event.

RAFFLE PRIZES
We will be handing out raffle tickets at the BASPUG meetings.

  • Black Blade Associates will be raffling off a license, valued at $2000 for their SharePoint Zip product.

  • Lightning Tools will also be raffling off a license for their BCS MetaMan (or other) product.

  • CubisOne will be raffling off a license for their SharePoint Power Pack iChat product ($1000 value).

  • We also have books, T-Shirts, and more!

    LOCATION
    We will be meeting at the Microsoft New England Research and Development center at One Memorial Drive, Cambridge, MA.

LINKED IN
Join our group on LinkedIn today to connect with the rest of the BASPUG members, and spread the word!

FACEBOOK
We are also on facebook! http://www.facebook.com/#!/pages/Boston-Area-SharePoint-User-Group/113652405354617

TWITTER
Follow news about the Boston Area SharePoint Users Group on twitter by following us @BASPUG, and by using the hashtag #BASPUG

WEB
Visit the Boston Area SharePoint Users Group website at http://www.bostonsharepointug.org