This is a migrated thread and some comments may be shown as answers.

Folders permissions

1 Answer 98 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Luca Fumagalli
Top achievements
Rank 1
Luca Fumagalli asked on 14 Sep 2009, 08:18 AM
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 ?

1 Answer, 1 is accepted

Sort by
0
ManniAT
Top achievements
Rank 2
answered on 14 Sep 2009, 06:54 PM
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"
Tags
FileExplorer
Asked by
Luca Fumagalli
Top achievements
Rank 1
Answers by
ManniAT
Top achievements
Rank 2
Share this question
or