SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my left hand side bar I have 3 links to downloads- one for each of three different companies. I need each company to log in and see only the one link to their companies downloads - not all 3 links for each company.

In the code I was hoping to put a security trim around each link that only ran the code if the user is a member of that companies group.

Is this possible?


 ID="SPSecurityTrimmedControl1" **Group="Company1"** runat="server">

'Link to Company one downloads' </SharePoint:SPSecurityTrimmedControl>

If not is there a good workaround?

share|improve this question
up vote 0 down vote accepted

If you use Sharepoint 2010 Server (not Foundation) you can put these links into three different content editor web parts and define target audiences for them.

share|improve this answer
That's great thank you - I can even spend some time on the UI for once! – Steve Allen Jan 23 '13 at 11:01

Use Audience targeting in the navigation.

share|improve this answer
This is a fair workaround, but let's not mistake comparing Audience targeting to security, because it's not. – Mike Apr 11 '13 at 21:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.