Questions tagged [security-trimming]

Security trimming is a process which "prevents users from seeing information that they do not have access to in the system." (-Microsoft)

Filter by
Sorted by
Tagged with
11 votes
2 answers
851 views

Performing a search that is not security trimmed

I'm trying to documents of a certain content type that has a certain tagging (the documents are spread over several site collection). To get some performance I'm trying to do it with a KeywordQuery. ...
Robert Lindgren's user avatar
8 votes
1 answer
10k views

Differences between Item Level Permissions and Item Level Security?

The term Permissions is used in multiple places, with different meanings Item Level Permissions: Set in: List Settings -> Advanced settings: (note: you CAN set this for Libraries, not through the ...
Danny '365CSI' Engelman's user avatar
6 votes
5 answers
29k views

Hide "Site Actions" -> "View All Site Content" in a 2010 Publishing Site

This is annoying. I've created a site, enabled the Publishing features, and added a couple people to the "Members" group that has Ready Only access. When these users log in, they still see the "Site ...
Jeff's user avatar
  • 193
6 votes
3 answers
716 views

Possible to security trim what web parts a user can put on a page?

Basically when you select Insert -> Web Part you get this menu: Is it possible to determine what is available here based on a users role?
Abe Miessler's user avatar
  • 6,755
5 votes
1 answer
18k views

Read vs Restricted Read and View

I have number of subsites where I give " read only " access to all users problem is if I just check "Read only" permission list (Marketing Visitors) users in that group get accessed denied, but if ...
user17970's user avatar
  • 457
5 votes
1 answer
226 views

Is it possible to override the SharePoint 2010 OOB search result security trimming?

I've built and deployed a custom security trimmer based on the ISecurityTrimmer2 interface. I have verified that it is running for the content source + crawl rule that I intended. However, it only ...
Greg Enslow's user avatar
4 votes
1 answer
1k views

Can I do security trimming on search results from SharePoint 2010 against WSS 2.0

I have indexed an old WSS 2.0 from my SP2010 search engine. The indexation works fine as I can see documents from the WSS 2.0 server in the results. The problem is that there doesn't seem to be any ...
rold2007's user avatar
  • 331
3 votes
4 answers
22k views

Show link only to specific group

I have a page in which several sharepoint groups have access to. Picture a department page in sharepoint. On this page we have several webparts that we would like everyone to see. My question is, how ...
BlueBird's user avatar
  • 1,850
3 votes
1 answer
1k views

How does IfHasRights work(is it based on site or list)?

So my sceario is this. I have a subsite and in this subsite i have a custom webpart that displays that from a blog under this subsite via web services. The user doesn't has no permission to the blog ...
naijacoder's user avatar
  • 4,272
3 votes
4 answers
3k views

Security trimmed content based on group membership (target audience)

I realize that content editor web parts can utilize audience targeting in the full version of SharePoint. I'd like to go one step further and actually target content within my CEWP to specific groups. ...
Shrout1's user avatar
  • 545
3 votes
1 answer
1k views

How do I show a view of documents for the current user's department?

My first sharepoint task ever is to create a demo document management site, i need to define a way of departmentalising documents added to the store, then when a user logs in they only see documents ...
Stephen Murby's user avatar
3 votes
2 answers
945 views

Trim search results based on user permissions

Is it possible to create web part with Sharepoint APIs that will trim search results like this. I would need similar thing to check does user have edit permission on documents retreived from search ...
malibeg's user avatar
  • 215
3 votes
1 answer
1k views

Hide and disallow access to ribbon except for users in SP Administrators Group

I have a SharePoint 2010 site using a custom themed master page. It does not show the standard SharePoint ribbon. However, users are able to append showRibbon=true to their URL to see the ribbon. I ...
Shane Wealti's user avatar
3 votes
1 answer
153 views

How to get SecurityTrimming on non-SharePoint sources with SharePoint Search onPrem?

I have a quite delicate issues with SharePoint Search (2013 / 2016 onprem). The background story We want to use the SharePoint Search with a discrete Search Service Application to crawl a CoreMedia ...
Leviani's user avatar
  • 152
3 votes
1 answer
217 views

Custom security trimmer for Sharepoint 2016

We are implementing a web part which will show all the site collections on which user has access(Admin/Member/Read). But we don't want to show site collections , on which user has access through ...
Rohit Kharade's user avatar
3 votes
1 answer
5k views

Limit of unique permissions per site collection

How many items/documents/folders with unique permissions can you have per site collection? I am aware of the boundaries of 5,000 scopes per list/library and 5,000 members per scope. I assume it is ...
Bernd Rickenberg's user avatar
3 votes
2 answers
2k views

SharePoint 2013 search results security trimming

I have a .NET Web Application that acts as a front-end site for users, and this application leverages a separate SharePoint 2013 Application to serve data to the users. One of the tasks was to ...
AamirB's user avatar
  • 31
2 votes
1 answer
2k views

Security Trimmed Control Show Only to Authenticated Users

I have a public facing website and on the homepage there are few contents that I want to show only to Authenticated Users.. Anonymous users should not be able to see it, what Permissions String should ...
Arsalan Adam Khatri's user avatar
2 votes
4 answers
5k views

SharePoint 2010 - Security Trimming issue with Quick launch

I am having some trouble with this Security Trimming feature that maybe you can help me out with. Even with the Security Trimming feature enabled, those users with no access are still able see the ...
user avatar
2 votes
2 answers
2k views

How to execute KeywordQuery as specific user?

I want to issue a search query from code using KeywordQuery as a specific user. The background is that item level security needs to be applied. I want security trimmed search results. I tried two ...
Heinrich Ulbricht's user avatar
2 votes
4 answers
3k views

Top navigation bar links

Is there a way of making the links in the top navigation bar in SharePoint 2010 visible to only selected users/groups? I am running the Foundation version so I am limited with options. The SharePoint ...
Steve.C's user avatar
  • 47
2 votes
1 answer
275 views

What is SecurityDescriptor format?

MSDN article "How to: Configure item-level security in SharePoint 2013" mentions service returning Property with Name="WindowsSecurityDescriptorField". What is actual format, in which this information ...
Tschareck's user avatar
  • 2,155
2 votes
1 answer
280 views

Security trimming not working for items in a dataview webpart - Data via webservices

I have a dataview webpart that gets data via webservices but i want to apply security trimming on the items. When i tested it using different logins it doesn't work.All the items keeps showing even ...
naijacoder's user avatar
  • 4,272
2 votes
2 answers
7k views

Hide the gear icon (Site Actions) for all users except Admin

How to hide the gear icon (Site Actions) for all the users except the Admin group?
Gracy's user avatar
  • 95
2 votes
2 answers
2k views

Document Library Sub Folder Access

I have a question related to folder access in a document library in SP 2013. I have a Document Library with a folder structure as follows: Document Library -Folder A -File 1 -File 2 -Folder ...
FullMetul's user avatar
2 votes
1 answer
4k views

Traverse folder permissions not working

When assigning permissions to a subfolder, the traverse (limited access) permission isn't working properly, the parent folder isn't view-able from the root of the document library. Document Library ...
user1872809's user avatar
2 votes
1 answer
132 views

Filtering view of subsites by permission

I have a site with many subsites. Only a portion of these subsites need to be (or should be) accessible by a particular user. Is there a way I can have some sort of list view on my parent site page ...
Joe Phillips's user avatar
2 votes
0 answers
64 views

How to implement custom security trimmer?

How can we implement Custom security trimmer (Pre/Post) for SharePoint search result sources ? Because According to Link custom security trimmer will be applicable for whole search service ...
Rohit Kharade's user avatar
2 votes
2 answers
85 views

REST search gives zero results to users with custom read group

I have two SharePoint groups that use custom permission levels. The first user group gives access to read specific content and access to SharePoint's APIs. This group does not have access to see ...
Swazimodo's user avatar
  • 121
2 votes
0 answers
79 views

Avoid deleted site content to appearing in search results

A while ago I came across that some confidential material appeared on my search results. The material was located on a site which was already deleted a long ago (yet still the search result showed its ...
moe's user avatar
  • 5,267
2 votes
0 answers
581 views

SharePoint Search BDC / BCS Model with Item Level Security Using SharePoint Groups

I have a BDC / BCS model that I use for indexing content with SharePoint Search. In the model, I assign item-level security using the method described on this MSDN article: http://msdn.microsoft.com/...
John Chapman's user avatar
  • 11.9k
2 votes
1 answer
589 views

Issues with SharePoint Security Trimmer control

I notice that using the security trimming control (say for RibbonBox) only hides the content, I want something like display:none, can we achieve this?: CASE 1: <Sharepoint:...
variable's user avatar
  • 4,473
1 vote
1 answer
113 views

Security trimmed results for custom query on property

The sites in my site collection are using a custom property to determine what "type" of site they are. E.g. web.Properties["SiteCategory"] = "SomeCategory1"; I'm planning on creating a web part to ...
kei's user avatar
  • 586
1 vote
1 answer
669 views

How strictly is Client Object Model functionality Security Trimmed & Person (User) object resolution?

I have a Silverlight Webpart Application running on a Sharepoint2010 Page. The purpose of this webpart is to take a spread of different sections of data and condense it into a more easily usable form. ...
Zork's user avatar
  • 1,560
1 vote
1 answer
384 views

How to implement a Comprehensive Search Solution in SharePoint?

I am looking to implement a search solution for one of my clients. Any comments will be highly appreciated. We currently have SharePoint 2007 Enterprise. We have the following requirements: Users ...
Namwar Rizvi's user avatar
1 vote
2 answers
131 views

Can the site owner browse the site in Viewer's view?

We are using SP2013 on-premise. On a site collection we have some both public content and sensitive content. Viewers do not have permission on sensitive contents. The site owner (who have full ...
Mark L's user avatar
  • 4,065
1 vote
1 answer
2k views

What is the way to use security trimming in masterpage deployed via VS in 2013?

This article mentions how we can modify the masterpage html file in SP2013. However, we are deploying a '.master' file and setting the masterpage via VS package. What is the way that we can perform ...
variable's user avatar
  • 4,473
1 vote
3 answers
5k views

Sharepoint 2010 Item level Permission to a Document Library is Our approach right?

We are planing to apply Item level Permission on document library and want share point experts advise...are we going right way or we will fall in performance issue or others.. What We Have : 1- We ...
Salman Aziz's user avatar
1 vote
1 answer
128 views

SharePoint API - security issue?

Security department in my company approached me recently saying they've audited one of our SharePoint site collections (SP2016) and there is a serious security issue. Apparently, using an account ...
George Rosword's user avatar
1 vote
2 answers
362 views

How to apply SPSecurityTrimmedControl on HTML Master page?

On a SP2016 on-premise farm, I am editing a HTML Master page. I want to hide the gear icon from everyone beside the site admin. In my previous experience in older version, I can modify the Master page,...
Mark L's user avatar
  • 4,065
1 vote
1 answer
169 views

Enterprise Wiki security boundaries

What is the prefered way to handle security boundaries in a Wiki? We're about to start documenting our business processes in a wiki. We would like to be able to tag our group wiki pages as a security ...
Molotch's user avatar
  • 163
1 vote
1 answer
96 views

Check object's permission levels

Are there tools that will display all the permissions to an object in SharePoint 2010 Server? For example, we want to see which AD groups, SharePoint groups, and individuals have any level of access ...
Alex C's user avatar
  • 4,405
1 vote
3 answers
796 views

Security Trimmers on SharePoint 2010

SharePoint 2010 changed a lot of things about security trimming from 2007. I've implemented the new ISecurityTrimmer2 interface, and I've registered my trimmer with SharePoint (following the ...
bmm6o's user avatar
  • 142
1 vote
1 answer
785 views

Hide div or span based on user's permission

I'm using REST API to populate contents on a page. Each item has an Edit link to allow content provider to edit the text and image. Content Providers are members of 'CPGroup' SharePoint Group with ...
Tamras Merin's user avatar
1 vote
1 answer
3k views

Promoted Links based on Permission Sets or Ad Group

I have a list of promoted links (tiles), around 60, and depending on the AD Group a user is associated with, he/she will have access to just one area (so one promoted link will work for him) and not ...
LearnByReading's user avatar
1 vote
1 answer
24 views

I want to have one group manage membership of another group in sharepoint 2010

I want to have group A manage membership in both group A and group B. How do I set that up? I have group A managing its own membership, but I can't figure out how to have group B's membership managed ...
Barry L's user avatar
  • 13
1 vote
2 answers
2k views

How to hide or remove items in File menu in Office Web Apps

Is there a way I can remove or hide the options in Office Web Apps for Save As, Print and Share? I've read something saying it might be possible with Active Directory Rights Management Services, but ...
zingwing's user avatar
  • 779
1 vote
2 answers
513 views

Security Trimming on Tree View site navigation

Is it possible to add security trimming on the TreeView to only allow the authorized user can see whatever are allowed them to see on the TreeView? My portal is shared with 3 different users and they ...
Zong Low's user avatar
1 vote
1 answer
113 views

SpSecutityTrimmedControl runs in Pagepreview mode - ?pagepreview=true

I'm branding the sharepoint ribbon and need some changes (css) when the page gets in pagepreview mode. I've got this code <SharePoint:SpSecutirtyTrimmedControl runat="server" ID="...
Plexus81's user avatar
  • 2,250
1 vote
2 answers
1k views

Disable search security trimmer?

I'm currently working with a client, one of the requirements is that users have complete access to the search results, regardless user permissions, including anonymous users, Is there a way to disable ...
Hugo Molina's user avatar