I need to create discussion site for a company that disallows the users from seeing any content that was posted before their hire date. I can bring in the hire date through the AD as part of the user information but we need to use that to filter out content in the discussion thread.

Setting views are a no go as they can be circumvented through search.

  • i dont think, there is easy way....But i guess if you are good in development then may be wrote an event reciver / timer job...which go through all the items and set item level permission...i.e if i hired today...this code runs and go through all the list items and remove me from their or deny access... – Waqas Sarwar MVP Jan 6 '14 at 19:35

SharePoint has a hard limit of 50,000 unique permissions that can be defined per list and if your organization is of any significant size or (more likely) sees significant turnover, then you will hit that limit. Creating an automated solution to create Item-Level security will ensure that you hit that limit even faster.

The more complicated security is, the slower overall site performance becomes, indexing for search is also slowed and attempting to manage security in such a scenario is the stuff of nightmares.

It can be done (as Waqas pointed out) but if that really is the requirement then it is possible that SharePoint is not the best tool to accomplish what you are attempting to do.

If you are stuck in SharePoint-land for this then you would have to create some sort of custom front end that used custom CAML queries to call the back end data. Oh, and turn off indexing of the specific lists in the list settings so that they can't be found in a simple crawl.

  • Thanks for the answers. You're absolutely right in that setting security levels will cause more issues and probably fail. I'll be taking the route of setting the views and some custom webparts to control what the users actually see. A custom front end as suggested. – Ricshah Jan 7 '14 at 15:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.