How to restrict the user to access only one Document Library other than accessing complete site?

Posted on 2009-12-18
Last Modified: 2012-08-14
Hi, i want to provide access to one document Library which i need to access by some users, but i don't want them to access the complete site. How.can we do this using Sharepoint OOTB.
Question by:ravibabub
    LVL 12

    Expert Comment

    ok here is what you need to do.
    give permission to that user for access to the doc lib.  also ensure anonymous access is turned off to that page and the doc lib.

    Make sure that the user has no permission to the actual page.

    the user should beable to see the doc lib by url but they will get prompted or block if they try to goto that actual page.

    if you need steps to set that up let me know.

    Author Comment

    Hi  Mccarthybri Thanks for your reply, Can you please send me the steps to do this, i am not getting solution what you given. My requirement is i want to provide access of " Shared Documents" to "abc" group which is having some Users. But the "abc" group users Should not access the Entire Site? Please let  me know the steps to do this.

    LVL 12

    Accepted Solution

    question do you have anonymous access running on the site?

    what you need to do first is break inheritence of the doc lib from the site:
    open the doc lib, hit settings, document library settings, actions, edit permissions, now you will see that you can select groups and users and set the permissions for each.  what i would do here is take out any group or user that you dont want to see the doc lib in there.  you have to keep in mind that if you have a member group or a viewer group that has all users that
     will overide any person your trying to block.  so in here you can add the member group you were talking about and give them the level of permission they need
    now under settings still in the doc lib select anonymous access and make sure nothing is checked in there.  

    that is it.

    let me know if you have any additional questions with this

    Author Closing Comment

    Ya...its good, working now fine, thanks

    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

    I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
    Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    754 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

    21 Experts available now in Live!

    Get 1:1 Help Now