Folders permissions

2 posts, 0 answers
  1. Luca Fumagalli
    Luca Fumagalli avatar
    7 posts
    Member since:
    Aug 2009

    Posted 14 Sep 2009 Link to this post

    I have a FileManager control within a web page. The user connected to this page could have the permission to read some folders and read/write other folders. How can I manage this situation ? Where can I store the flag who tell read or write permission? I have to check it for each folder when user click on folder icon ?
  2. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 14 Sep 2009 Link to this post

    Hi,

    you can define:
    Where a user can read (view), Upload to (Upload) of Delete (Delete) - a simple definition can look like this:
    Snippet created with CBEnhancer
    ViewPaths="~/XFiles,~/XImages,~/XDocs"
    DeletePaths="~/XFiles,~/XImages,~/XDocs"
    UploadPaths="~/XFiles,~/XImages,~/XDocs"
    Here all paths are the same - if let's say /ReadOnlyFiles is not allowed to be written I would only place it in ViewPaths like this:
    Snippet created with CBEnhancer
    ViewPaths="~/XFiles,~/XImages,~/XDocs,~/ReadOnlyFiles"
    DeletePaths="~/XFiles,~/XImages,~/XDocs"
    UploadPaths="~/XFiles,~/XImages,~/XDocs"

    Regards
    Manfred
    PS: if this post was helpful please use "Mark as answer"
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top