Are Activity Streams Security Trimmed?

During my session at The Experts Conference (#TEC2010) in Los Angeles earlier this week, I was asked a question that I could not answer in full confidence: are activity streams in SharePoint 2010 security trimmed?

It was a great question. As we debated the answer, someone tweeted the question out to 93723892the SharePoint community, but unfortunately the answer did not come back right away. Following my session, I caught up with both Joel Oleson and Bill Baer in the hall and asked them the question. Joel thought that yes, they were security trimmed, but Bill answered no, they were not.

Turns out they were both right.

The topic came up again tonight as Joel, Erica Toelle, Owen Allen and I sat in the Nectar Lounge in Seattle’s Fremont neighborhood, the site of the upcoming SharePoint 2010 Community Launch party here in Seattle (#SPCLSEA) on May 12th. We discussed the Tweets flying around on the topic, and Susan Hanley’s article which mentions it.

So here is some clarification on the topic (your feedback and further refining of my answer is always welcome):

imageActivity streams are a feature of My Sites, not Team Sites (a gap in the product, we all agreed, and an opportunity for an enterprising web part developer). As such, they only capture tag, status, and document activities within the My Sites space, which are already security trimmed – you can control who has access to content on your site. And, of course, only authorized users can access the My Sites – which is why Joel answered the way he did: activity streams don’t show activities within Team Sites, the primary area requiring security trimming.

imageTagging and user-generated keywords, on the other hand, appear in your activity stream no matter where you place them. If you tag an item or add a keyword within a Team Site, the tag or keyword does indeed show up in your activity stream. However, when another user clicks on that tag (as in the example above), they will not see any secure content. That’s where the security trimming kicks in. People can see your tag, but only the content they are supposed to see. As you can see in the image below, when clicking on the tag, you will not return any content you do not have permission to view. In this example of our TEC2010 tag, which is only associated with a single document, the result comes back empty.image

Additionally, you can hide your tag by selecting the ‘private’ radio button within the My Tags window.

But to Bill’s point, there is no specific security trimming around activity streams – the security is around the Team Site content, which is enforced within the My Sites and activity streams. So technically, Bill was right, too. (There’s also a good chance that Bill misunderstood my question, as he is one of only a dozen SharePoint Masters, is wicked smart, and pretty much knows everything there is to know about SharePoint)

Leaving the get together tonight, we all agreed that there is still some testing to do, but for all intensive purposes, we agreed that yes, activity streams are security trimmed.

Christian Buckley

Christian is a Microsoft Regional Director and Office Servers and Services MVP, the Founder & CEO of CollabTalk LLC, an independent research and technical marketing services firm based in Salt Lake City, Utah, and CMO of, a blockchain-based video technology company.