Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Can end users be prevented from creating folders in document libraries (in specific site collections) without preventing them from adding files to existing folders?

share|improve this question

2 Answers 2

up vote 6 down vote accepted

Through permissions there is no way to differentiate between being able to add files and add folders.

But you still have two options:

  1. If your document libraries are set up with the right folders and nobody should add new folders then you can just go into Library Settings|Advanced Settings and set Make "New Folder" command available? to No. If you then later need to add new folders, then someone with Manage Lists permissions can open a window by setting it to Yes, Create the folder and resetting it to No.

  2. You can write an Event Receiver which denies any attempt to add a new folder based on your own logic.

share|improve this answer
    
For 1. Could we somehow prevent folders being created via Explorer View? –  thomius Jan 2 at 8:53
    
No, users will be able to add folder using Explorer view only option 2 will prevent that –  Per Jakobsen Jan 2 at 8:58

To enable or disable folders in lists and libraries, you go to the list or library settings page by switching to the List ribbon or Library ribbon and clicking the List Settings or Library Settings button. On the settings page, you click the Advanced Settings link to get to the Advanced Settings page of the list or library . On that page, you choose Yes or No for the Make New Folder Command Available option, which is located in the Folders section of the page

share|improve this answer
    
Could we somehow prevent folders being created via Explorer View? –  thomius Jan 2 at 8:52

Your Answer

 
discard

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.