Friday, December 18, 2009

Restrict document library from uploading and opening in Explorer view

Are you trying to restrict sharepoint users from adding files to the sharepoint document library via, Upload document option and  using 'Drag and Drop' after opening in Explorer view.

You can acheive this by just adding some javascript codes to the page.

So heres how it can be done ...........

  • Open the document library where you want to restrict the upload and open in explorer view option.

  • Add a Content Editor Webpart to the page.

  • In the tool pane of the CEWP - Source Editor.- Add the below javacript codes.

  • Delete the explorer view of document library. 

   You are done with what you were looking for


1 comment:

Anonymous said...

you are the man I have been working through the process of creating a custom permission group that could only view and edit their documents bu not delete them and this was the last huddle. Thanks