none
Limiting Search Results

    Question

  • I'm going to create a portal for our customers.  Each customer site will be a Site Collection.

    With Site Collections - Can I limit the search results to an individual collection?  Or would I need to go even farther and create a seperate web app for each customer (not what I want to do)?  I guess what I'm saying is that I wouldn't want the search results of customer 1 to show customer 2 info.

    Regards,
    Terry
    Saturday, March 28, 2009 12:43 PM

Answers

  • Your best approach is to limit it via security.  Give customer A access to her data and none of the data in collection B and she won't ever see data in B.

    You can refine it a bit by using scopes (MOSS or MOSSFS), but that's not a secure approach.

    Separate web app would be the ultimate level of security as it's the biggest bucket for content.  That feels like overkill to me, however.  In fact, even multiple site collections feels like overkill.  You can just secure a site and everything under it.  Are you going to maintain a lot of data for each customer?


    --Paul Galvin of EMC Consulting, New York area Microsoft MVP - SharePoint Blogging @ http://feeds.feedburner.com/PaulGalvinsSharepointSpace Twitter @ http://www.twitter.com/pagalvin
    Sunday, March 29, 2009 12:28 PM

All replies

  • Your best approach is to limit it via security.  Give customer A access to her data and none of the data in collection B and she won't ever see data in B.

    You can refine it a bit by using scopes (MOSS or MOSSFS), but that's not a secure approach.

    Separate web app would be the ultimate level of security as it's the biggest bucket for content.  That feels like overkill to me, however.  In fact, even multiple site collections feels like overkill.  You can just secure a site and everything under it.  Are you going to maintain a lot of data for each customer?


    --Paul Galvin of EMC Consulting, New York area Microsoft MVP - SharePoint Blogging @ http://feeds.feedburner.com/PaulGalvinsSharepointSpace Twitter @ http://www.twitter.com/pagalvin
    Sunday, March 29, 2009 12:28 PM
  • Agree 100% with Paul.  Just to further clarify though -- let's say you have separate web applications and want to limit results.  You'd pretty much have to create separate SSPs so the content in the indexes don't co-mingle.  That is a LOT of overhead.  With all the extra web aps and all the extra crawls potentially going on your box could be under water pretty quick.

    I was proposing a similar architecture for a client, and were just going to handle it with security.  As long as your crawl account isn't an administrator you should be just fine and the results will be security trimmed. 
    John
    SharePoint911: SharePoint Consulting
    Blog: http://www.rossonmoss.com
    Twitter: JohnRossJr

    MOSS Explained: An Information Workers Deep Dive into Microsoft Office SharePoint Server 2007
    Sunday, March 29, 2009 1:32 PM
  • Hi Terry,

    hope ur out of this by now.


    just to share one more approach, i.e you can have a separate search scope for all site collection.
    you need to go to site using Site collection administration login

    Click "Site Actions" and under "Site Collection Administrator" tab Click "Search Scope"  
    and with simple steps you can create a search scope specific to your site Collection.

    and while creating a Rule for the scope use "Require" option for the same.

    take help from
    http://technet.microsoft.com/en-us/library/cc164186.aspx

    http://www.endusersharepoint.com/?p=388 


    just revert in case it works ...... and plz do if you face any further issues :-)

    Regards
    Shailendra Mohan
    Monday, March 30, 2009 9:49 AM
  • Shailendra,

    By all means propose OTHER people's posts as Answers, but do NOT propose your own.

    That doesn't help the Moderator; proposing other people's posts does.
    WSS FAQ sites: WSS 2.0: http://wssv2faq.mindsharp.com WSS 3.0 and MOSS 2007: http://wssv3faq.mindsharp.com
    Total list of WSS 3.0 and MOSS 2007 Books (including foreign language titles) http://wssv3faq.mindsharp.com/Lists/v3%20WSS%20FAQ/V%20Books.aspx
    Monday, March 30, 2009 11:25 AM
  • Hi Walsh,

    Thanks a lot for pointing the mistake.
    I really appolize for doing the same ... will surely take care for future replies.

    Thanks again for your kind guidance.


    regards,
    Shailendra Mohan
    Monday, March 30, 2009 12:17 PM
  • Thanks Guys for the advice ... And sorry for my late response!

    Limiting search results via security will work fine.

    As for Site Collections versus Sub Sites ... I posted the question on another thread.
    http://social.msdn.microsoft.com/Forums/en-US/sharepointadmin/thread/e353c450-f850-4a43-b7a4-8082ddb8b717

    Thanks again.

    Terry
    Tuesday, April 7, 2009 3:24 PM