+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 18

Thread: Document Rights Mangement

  1. #1
    Newbie engr is an unknown quantity at this point
    Join Date
    Jan 2007
    Posts
    22

    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. #2
    Moderator Orjan is a glorious beacon of light Orjan is a glorious beacon of light Orjan is a glorious beacon of light Orjan is a glorious beacon of light Orjan is a glorious beacon of light Orjan's Avatar
    Join Date
    Sep 2007
    Location
    Karlstad, Sweden
    Age
    34
    Posts
    2,607
    Blog Entries
    7

    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.
    __________________________________________
    Ask me: Orjan | Contribute to the Wiki! | Make your own Programming blog!
    I usually play eRepublik and Travian when I'm not on CodeCall

  3. #3
    Learning Programmer cdg10620 is an unknown quantity at this point cdg10620's Avatar
    Join Date
    Jun 2009
    Location
    Texas
    Posts
    99
    Blog Entries
    3

    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.

  4. #4
    Newbie engr is an unknown quantity at this point
    Join Date
    Jan 2007
    Posts
    22

    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?

  5. #5
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,660
    Blog Entries
    57

    Re: Document Rights Mangement

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

  6. #6
    Newbie engr is an unknown quantity at this point
    Join Date
    Jan 2007
    Posts
    22

    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; 07-01-2009 at 01:16 AM.

  7. #7
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,660
    Blog Entries
    57

    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.
    CodeCall Blog | CodeCall Wiki | Shareware
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  8. #8
    Newbie engr is an unknown quantity at this point
    Join Date
    Jan 2007
    Posts
    22

    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???

  9. #9
    Learning Programmer cdg10620 is an unknown quantity at this point cdg10620's Avatar
    Join Date
    Jun 2009
    Location
    Texas
    Posts
    99
    Blog Entries
    3

    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.

  10. #10
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,660
    Blog Entries
    57

    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.
    CodeCall Blog | CodeCall Wiki | Shareware
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Replies: 18
    Last Post: 06-01-2009, 09:05 PM
  2. Rights of a Blogger
    By Chinmoy in forum The Lounge
    Replies: 3
    Last Post: 06-01-2009, 03:43 PM
  3. Best tools to build Document Generator?
    By wildkick in forum General Programming
    Replies: 3
    Last Post: 01-13-2009, 01:53 PM
  4. how to do a good rights management
    By Orjan in forum PHP Forum
    Replies: 8
    Last Post: 08-27-2008, 10:49 AM
  5. UNIX HELP: C programmers
    By Dr. Abbey in forum MarketPlace
    Replies: 5
    Last Post: 05-26-2008, 11:57 AM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

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