Solved

SharePoint 2010: How to remove Search Security trimming?

Posted on 2013-11-14
4
969 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 16

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
My Sharepoint challenge 4 49
Printing 1 51
HttpPostedFile 1 26
Sharepoint User Name Displaying incorrectly. 17 41
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

831 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