Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Document Rights Mangement

  1. #1
    engr is offline Newbie
    Join Date
    Jan 2007
    Posts
    22
    Rep Power
    0

    Document Rights Mangement

    I am uploading documents/files to sql server 2005 db using asp.net.I would like to give each group of users a different set of rights for accessing these documents - One set should be able to save,modify the document while the other set of users can only view the document.

    Is it possible with the .NET technology?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Sep 2007
    Location
    Karlstad, Sweden
    Posts
    3,082
    Blog Entries
    7
    Rep Power
    41

    Re: Document Rights Mangement

    you can of course build such a system on your own, that is absolutely possible. if there is a built in way, I don't know.
    __________________________________________
    I study Information Systems at Karlstad University when I'm not on CodeCall

  4. #3
    cdg10620's Avatar
    cdg10620 is offline Programming Expert
    Join Date
    Jun 2009
    Location
    Texas
    Posts
    387
    Blog Entries
    3
    Rep Power
    12

    Re: Document Rights Mangement

    You can set permission on each table explicitly in SQL server. When .NET goes to the SQL server to read information SQL server will check to see if .NET has permissions to access the information. You will want to have .NET grab the current user's information and check to see the permissions when accessing the SQL database.

    You can also do validation on the front end before it ever gets to SQL. How would you allow users to change information? If it is some kind of form, you can check the users permissions as they come to the page and make it to where they either don't have edit capabilities on the page or they cannot access the page at all.

  5. #4
    engr is offline Newbie
    Join Date
    Jan 2007
    Posts
    22
    Rep Power
    0

    Re: Document Rights Mangement

    I am uploading pdf,word,autocad files to the database. I want that only some users can download the file while others can only view.The document details are going to one table while the user info is stored in another table.Where do i set the permission - do I set it at the database level or at the programming level?

  6. #5
    Join Date
    Jul 2006
    Posts
    16,478
    Blog Entries
    75
    Rep Power
    143

    Re: Document Rights Mangement

    I would set it at the programming level.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  7. #6
    engr is offline Newbie
    Join Date
    Jan 2007
    Posts
    22
    Rep Power
    0

    Re: Document Rights Mangement

    How do I go about it?
    If you have ever come across WSS 3.0,you might be able to catch what I am getting at. There is a technology in WSS called Informations Right Management (IRM) - Here each file / document has permissions assigned to it so that only those users who have write permissions can save/download the file while others can only view it-it is non-ediatable for the latter.
    Can something like this be achieved here?
    Last edited by engr; 06-30-2009 at 11:16 PM.

  8. #7
    Join Date
    Jul 2006
    Posts
    16,478
    Blog Entries
    75
    Rep Power
    143

    Re: Document Rights Mangement

    There are literally dozens of ways you could do this. The easiest is to give each user a permission level, and only expose the upload interface to users with sufficient permissions.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  9. #8
    engr is offline Newbie
    Join Date
    Jan 2007
    Posts
    22
    Rep Power
    0

    Re: Document Rights Mangement

    I am not having an issue with upload - I have already set permissions for that.
    I want to control the downloading part. Whenever you open any file - doc, pdf, etc. you must have noticed that we are able to download it to our harddisk. How do I prevent that???

  10. #9
    cdg10620's Avatar
    cdg10620 is offline Programming Expert
    Join Date
    Jun 2009
    Location
    Texas
    Posts
    387
    Blog Entries
    3
    Rep Power
    12

    Re: Document Rights Mangement

    Quote Originally Posted by engr View Post
    I am not having an issue with upload - I have already set permissions for that.
    I want to control the downloading part. Whenever you open any file - doc, pdf, etc. you must have noticed that we are able to download it to our harddisk. How do I prevent that???
    How did you set permissions on the upload? Do you have some code that you can post? I'm not understanding why you can't block the download option with your code if they do not have permission to do so.
    -CDG10620
    Software Developer

  11. #10
    Join Date
    Jul 2006
    Posts
    16,478
    Blog Entries
    75
    Rep Power
    143

    Re: Document Rights Mangement

    Wait, you mean you want them to be able to view, but not download, a document? In that case, you're out of luck. To view the document, it's already downloaded.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

Closed Thread
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How/Where might i buy rights to a 2d mmorpg
    By atheium in forum General Programming
    Replies: 2
    Last Post: 06-24-2011, 02:33 AM
  2. How to convert an html document into am msword document?
    By greenerworld in forum HTML Programming
    Replies: 1
    Last Post: 11-23-2009, 03:25 AM
  3. file structure mangement
    By techtoast in forum Python
    Replies: 3
    Last Post: 10-08-2009, 08:42 PM
  4. Rights of a Blogger
    By Chinmoy in forum The Lounge
    Replies: 3
    Last Post: 06-01-2009, 01:43 PM
  5. how to do a good rights management
    By Orjan in forum PHP Development
    Replies: 8
    Last Post: 08-27-2008, 08:49 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts