.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Document Permissions

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :SharePoint
Good afternoon, I am using Sharepoint 2007. How can I post a document via a hidden webpart or document library and add permissions to it. It is a hidden link so I have setup audience targeting. For example how would I grant say team one read only access and team two full control over the document? Thank you for any help given.

View Complete Post

More Related Resource Links

How to write an event to manage permissions on a document while uploading, depending on custom field



I am trying to find a solution to manage permissions on a document, while uploading it into a document library. This event has to be fired if a custom field is populated (it's a check box field).

How to write an event for this, i tried writing ItemAdded event, but this is getting fired as soon as a document is uploaded, before coming to the page, where we populate all the fields and hit check in.

can i capture Check-in event.

Please advise.


New Document Library in a subsite is inheriting permissions from wrong site

I have a site collection (using the out-of-the-box Business Intelligence site template) called "BI Home". A couple weeks ago I created a bunch of subsites (Finance, Regulatory, Marketing, etc.) all using the BI site template, and then created a Document Library called "Reports" in each one of those subsites. Those are all working as expected. Yesterday I needed to create a new subsite (again, a BI site just off the root site collection) called "Operations". I created the subsite, and then created the "Reports" document library underneath it.  When I went to modify the permissions of the new document library (located here: /Operations/Reports), it said it was inheriting permissions from it's parent: "BI Home".  Why would this be?  Shouldn't the parent be "Operations" ?? All my other sites' "Reports" folders are inheriting permission from their respective parent, but any new sites I create seem to have this issue. Thanks in advance for any insight someone may provide! [SharePoint 2010 RTM on Win2k8R2 using SQL 2008R2 RTM on Win2k8R2]

Item/Document permissions affect Library/List permissions

When I change the permissions on a item/document in a library/list the permissions are also changed on the library/list even though I stopped inheritance.  When I change the permissions on the library/list it also changes permissions on items/documents in that list even if inheritance is removed.

Item/Document vs. Libray/List permissions

When I change the permissions on a item/document in a library/list the permissions are also changed on the library/list even though I stopped inheritance.  When I change the permissions on the library/list it also changes permissions on items/documents in that list even if inheritance is removed.

Set read only permissions on a document based on review status

I have a document library that has excel files that users create using a Content Type template.  Then there is a workflow that runs on it and allows the user to change state of the document to Strted, Prepared, Reviewed.  I want that once the status is set to reviewed, a workflow runs and changes the permissions on the document to read only.  The user is part of a group... so not sure how to handle the permission.  Any advice?

Folder and document specific permissions

My problem is that when I grant a user Read/Contribute permission to a document which is located in a folder in a library where I have not granted access to the user before. When the user is granted a Read/Contribute permission to the document the system creates a restricted permission to the library and to the folder where the document exists. But the problem is that the user can't access the file throught browser or Sharepoint Workspace. User can view the library but do not see the folder where the document is and in SharePoint Workspace the file is visible when syncing but the path to the file is wrong. Allthough user can find and access the file using a fileID.

Determine permissions for a document library with nested folders


I have a document library with many nested folders.  Each folder has unique permissions.  Is there a way to get a report of all permissions assigned to this document libary/folders? 

expense claim application - how to set up item level permissions on expense claim document set


Hi All,

I want to create an app that replaces the existing paper-form based expenses reimbursement process with a SharePoint solution.

I have created a content type called an Expense Form Set ( it includes an excel sheet for the user to enter expenses and also includes any digitised receipts associated with the claim )

The claimant can create an expense form set in an Expense claims document library and the Expense Claims Approver is notified, they approve or reject and reimburse if necessary.

however there is a stumbling block.

How do we prevent anyone else other than the person who submitted the claim and the person who needs to approve/reject from seeing the expense claim.

Is turning on content approval the only way to do this.

If so then the act of approving the content will make it visible to anyone else who has view or contribute access to the library.

thanks and regards,


document library security permissions on column value

I have created a document library with several number of documents there are 8 divisions so I have given a column called division with choice of selecting one of the divison as a column value now I want to set permissions to users of a divsion to read and write (edit checkout and author) only his respective divisoin and also read only access to all other documentsof other divisions.

Getting document permissions via web services



I'd like to get the permissions associated with a document, given the document's URL.  I found a note about getting document metadata via the Copy.asmx service, but now wondering how I can get the permissions, since they didn't appear in the metadata.



Why disappear permissions of document folder?



I have problem with permissions of document folder. Laws disappear from time to time and I don´t know why it happen.

It is happening by folder, wich is divided to several subfolder. For example: folder1/folder2/folder3


folder1 is document library, where is set up, that users from group "reading" have permission for reading this folder.

folder2 inherit laws from folder1

folder3 - permissions for this folder are withdrawal from group "reading" and to this folder is added user with permission for reading and contribution.


Problem is that from time to time folder1 loses permissin for group "reading" and at the same time folder3 loses permission for user, who can contribute in folder3.

Users for the folder3 we add, this is not inherit from folder2. I cannot find why disappear permissions for users, who we add.

We use Sharepoint Services 3.0

Thank you for your help!

list of document library items' permissions


Hi All,

There is a library (SharePoint Server 2007)

There are many files in this library (with personal permissions).

QUESTION: How to obtain the list of these files with their permissions.


Why do you need delete permissions to edit the file name of a document in a document library?How can

I have a document library and a group of users who should be able to upload documents and only change the metadata. They should not be able to edit the document or delete the document. So I setup a permission level with Add and Edit Items. When the user uploads the document, the edit form is shown where he/she changes the file name and comment fields, but the users get "Access Denied " error. I noticed that the error must be because the user is changing the file name field, as the document is uploaded and the comments field is also updated but the file name is not changed. But if I give Delete permissions to these users, the error disappears. I do not want to give them Delete permissions but I want to allow them to change the file name, can anyone help me here about how to achieve this? Also How do I prevent them from editing the document but still they can edit the metadata?

Any help would be greatly appreciated..


Working with SharePoint document libraries

Document libraries are collections of files that you can share with team members on a Web based on Microsoft Windows SharePoint Services. For example, you can create a library of common documents for a project, and team members can use their Web browsers to find the files, read them, and make comments. Users with Microsoft Office 2003 can check out and edit the files as if they resided on a local or network drive.

By default, your team Web site comes with a built-in document library named Shared Documents, which is listed on the Quick Launch bar as well as on the Documents and Lists page.

jQuery $(document).ready() and ASP.NET Ajax asynchronous postback

Many call it the ASP.NET jQuery postback problem, but using the technique below should make it no problem anymore. $(document).ready() isn't called after an asynchronous postback. What this means? You lose the functionality that should be executed within $(document).ready() after an UpdatePanel rendered its contents after an asynchronous postback.

SharePoint Document Workspaces for Developers

Office 2003 is being released this month, and a cast of supporting applications is already available. One of these is Windows SharePoint Services 2.0, the free team add-on for Windows Server 2003. If you're not familiar with SharePoint Services basics, take a look at What Developers Need to Know About Windows SharePoint Services. In this article, I'm going to drill into one key place where SharePoint and Office 2003 overlap: document workspaces

Upload a File to a SharePoint Document Library - Part I

The following helper class demonstrates a few techniques that allow documents to be uploaded to a SharePoint document library programmatically without using the API or a custom web service. You don't need to specify a document library name, and it will create any folders specified in the URL as required. File meta data will be updated if any properties are passed.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend