Solved

SharePoint 2010: How to remove Search Security trimming?

Posted on 2013-11-14
4
935 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:
tedbilly 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 14

Expert Comment

by:SneekCo
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now