Solved

SharePoint 2010: How to remove Search Security trimming?

Posted on 2013-11-14
4
977 Views
Last Modified: 2013-11-26
Hello. Users need to know sites they do not have access to. Sites exist in multiple web applications. Unfortunately search result are security trimmed by default. My question: How to remove Search Security trimming (I have a custom Search class)? Seems like impersonation does not work / permission elevation does not work between web applications. Basically users need to know if they should request access. Should I use best bet to avoid security trimming?

Similar problem, but no solution: http://social.technet.microsoft.com/Forums/sharepoint/en-US/82f15402-e1ca-4d01-8b11-5c85698f05ac/security-trimming-in-sharepoint-search?forum=sharepointsearchlegacy
0
Comment
Question by:tolppa
  • 2
4 Comments
 
LVL 51

Accepted Solution

by:
Ted Bouskill earned 500 total points
ID: 39652937
There used to be a 'Site Directory' template as a site collection per web application in SharePoint.  On Codeplex I've seen an unsupported project for it from a SharePoint programmer that moved over to Windows 8

However, this article appears to have a way to enable this feature from MOSS 2007
http://troubleshooterms.blogspot.ca/2012/12/site-directory-in-sharepoint-2010.html

That tool wouldn't use search.

A custom web part using impersonation should have worked even across web applications if you used an appropriate account with full permissions on all web applications, however in the past we've had trouble with permissions in web parts on SharePoint.
0
 
LVL 1

Author Closing Comment

by:tolppa
ID: 39668730
Thanks.
0
 
LVL 17

Expert Comment

by:Walter Curtis
ID: 39678994
This is an extremely strange request - remove security trimming so people know what they are missing. Maybe they are missing confidential information somewhere and they need to know the url so they can get to it????? Is that what you are asking??????????????????

One way would be to use security trimming, but give everybody full access to everything, then at least the users could get results for everything and then link to it.

Sorry to be sarcastic, but this is a very non-thought out question imho.
0
 
LVL 1

Author Comment

by:tolppa
ID: 39679904
Actually this seems to be a rather common need. Please understand that search does not remove SharePoint security for item.  Also, you can use custom search query to return specific data.  If you ever need an efficient way to fetch information you do not have choice but use search or timer job based code. Iterating every single web would be yield catastrophic results.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question