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'm creating a basic SP site where users can upload documents to a library and view other docs in that library, but not have any way of telling who uploaded what document.

I've got the permissions set up properly, modified views, but there's just one issue - a user can click "View Properties" on a document, and it will show who created and last modified the file.

Any idea how to prevent a user from getting to "View Properties"?


share|improve this question

James' solution is a perfectly valid 'no code' option, however if you want to just hide the name of the users who upload and edit the documents while still allowing document properties to be available, you can run a piece of code against the document library. For example

       using(SPSite s = new SPSite("http://siteurlhere"))
           using(SPWeb w = s.OpenWeb())

               SPList lib = w.Lists["document library name"];

               lib.ShowUser = false;


This will cause the created by and modified by fields to be displayed as * * * instead of the actual user name.

share|improve this answer
Didn't know this, nice 1. The Object Model is so big though :-S – Colin Jun 11 '11 at 21:39

You can create a view which doesn't display the Link With Menu field, and set this as the default view.

share|improve this answer

Your Answer


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