is it possible to hide some folders of a site in the Explorer view?

For example, my site is :


when I see


in Explorer I get:

-Shared Documents
-SitePages default

I would like that a user see only mysubite and Share Documents from the Explorer view. Is it possible?

1 Answer 1


from what i know, the explorer view merely displays results based on user permissions, similarly to SPD

if your user is able to interact with pages, lists and images through the UI, it is not unexpected that he can see the same resources from the explorer

I don't personally believe that there is away to prevent access to these resources, however, there might me a workaround to try to hide them, provided that the user has enabled the windows setting to not display hidden files

this workaround, should you want to try it, at your own responsibility, is to reproduce a default behaviour in which folders starting with underscore are hidden

you may not need to actually rename the folders, as you can enforce the attribute that is added when you do. you can set it to empty to revert the changes

$folder = (Get-SPWeb http://url).Folders["DocLib_Name"]

for a file

$file = (Get-SPWeb http://url).GetFile("/doclib/file.extension")


again, I haven't tried this so I am not responsible in case your site disappears or your server explodes

  • Maybe you could give me a clue about how to do the same with files?
    – Gyonder
    Aug 6, 2014 at 10:28
  • answer updated! Aug 6, 2014 at 10:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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