locked
Security on a Library view RRS feed

  • Question

  • Hi,

    I have created a library and created different views (Like View A, View B...).Is it possible to show View A only to SharePoint Group A users? Is it possible to enable security trim on library views?

    Any help would be appreciated.

    Thank you.


    AA.
    Friday, August 19, 2011 2:45 PM

Answers

  • In all of SharePOint the only objects which can have security are

    1)web applications

    2)Site collections

    3)SharePoint webs(each SharePoint Sites)

    4)Library/lists

    5)Folders

    6)List Items

    Now if you ask me how can I do what you are asking.  We CAN do this but we don't use permissions.  Here is what you do, when you create a view add the web part to the page you want to display your view on.  On the web part, you can click 'edit web part' from the drop down in the upper right corner of you web part.  This will open the config for this web part.  When you did notice you can target a view to this web part.  Do this, then notice the Advanced Section to your web part properties, extend this down, near the bottom of the advanced section is a area called 'Target Audience'  YOu can make audiences in SharePoint and target conent to them.  It's not a permission but a view of content.

    Here is a link on how to make audiences.

    TechNet post on planning audiences

    http://technet.microsoft.com/en-us/library/cc261958.aspx

    HOw to make

    http://blog.mastykarz.nl/content-targeting-anonymous-users-sharepoint-server-2010-part2-2/

    Good luck,

    Gary

    blog www.sharepoint2010now.com

     


    Gary Newman MCSE, MCT, CCNA MCDBA, MCAD, MCSA MCTS SharePoint 2007 Dev & Admin MCPD SharePoint 2010 Development My Blog www.sharepoint2010now.com
    Friday, August 19, 2011 5:58 PM
  • Hi Jasper,

    Thank you for your link.Actually I was looking for OOB security trim option for library views.The above link is good but it is not usefull for me as per my requirement.

    Regards,

    AA.
    Monday, August 22, 2011 8:18 PM

All replies

  • Does this answer your question:

     

    http://social.msdn.microsoft.com/Forums/eu/sharepointdevelopment/thread/ebbcc64d-ab61-42d2-ae1c-ddfc8bfbddfe


    Check out my blog at www.jasperoosterveld.com. I post articles about OOTB SharePoint, Office 365, InfoPath, SharePoint Designer and the iPad.
    Friday, August 19, 2011 3:51 PM
  • In all of SharePOint the only objects which can have security are

    1)web applications

    2)Site collections

    3)SharePoint webs(each SharePoint Sites)

    4)Library/lists

    5)Folders

    6)List Items

    Now if you ask me how can I do what you are asking.  We CAN do this but we don't use permissions.  Here is what you do, when you create a view add the web part to the page you want to display your view on.  On the web part, you can click 'edit web part' from the drop down in the upper right corner of you web part.  This will open the config for this web part.  When you did notice you can target a view to this web part.  Do this, then notice the Advanced Section to your web part properties, extend this down, near the bottom of the advanced section is a area called 'Target Audience'  YOu can make audiences in SharePoint and target conent to them.  It's not a permission but a view of content.

    Here is a link on how to make audiences.

    TechNet post on planning audiences

    http://technet.microsoft.com/en-us/library/cc261958.aspx

    HOw to make

    http://blog.mastykarz.nl/content-targeting-anonymous-users-sharepoint-server-2010-part2-2/

    Good luck,

    Gary

    blog www.sharepoint2010now.com

     


    Gary Newman MCSE, MCT, CCNA MCDBA, MCAD, MCSA MCTS SharePoint 2007 Dev & Admin MCPD SharePoint 2010 Development My Blog www.sharepoint2010now.com
    Friday, August 19, 2011 5:58 PM
  • Hi Jasper,

    Thank you for your link.Actually I was looking for OOB security trim option for library views.The above link is good but it is not usefull for me as per my requirement.

    Regards,

    AA.
    Monday, August 22, 2011 8:18 PM
  • Hi Gary,

    Thank you for your comments and links.Actually I was looking for OOB security trim option for library views but as you said it is not possible.

    Regards,

    AA.

    Monday, August 22, 2011 8:22 PM