SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to grant users to see images if they know the direct link (e.g. /MyPicLib/test.jpg). However the users should not be able to open "/MyPicLib/Forms/AllItems.aspx". I tried the available permission levels like "Restricted read" and also tried to create my own custom permission but it didn't work. Any ideas?

share|improve this question

The problem is that if you have access to items in a folder, then you can go to that folder and see the items you have access to even though you don't have any permissions on the folder.

One solution could be to put each picture into it's own folder like /MyPicLib/Logo/Logo.jpg. If you then don't give users any rights to the list, but break inheritance on each picture and gives them read View rights, then users will be able to see the image and goto the folder /MyPicLib/Logo and see the image exists, but they will not be able to see which folders exist.

share|improve this answer
That would be really difficult for more than a few pictures.. However, with the "Style Library" it works somehow. A normal user can load the css/js files but cannot open the style library directly. So I thought it should be possible for my custom lib to do the same. – marco May 16 '12 at 12:48
up vote 0 down vote accepted

Was my mistake. The restricted read is exactly doing what I want. So the solution was: Opened permissions of my picture lib, stop permission inheritance and set the group to "Restricted Read" instead of "Read". Now they can see the pictures by the direct url, but cannot open the library.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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