IZWebFileManager
Advanced ASP.NET File Manager
Welcome to IZWebFileManager
Sign in
|
Join
|
Help
in
Requests/Ideas/Developing (forum)
IZWebFileManager (group)
(Entire Site)
Search
Home
Features
Demo
Forums
Download, License & Source Code
The forum is moved to
http://groups.google.com/group/izwebfilemanager
If you have any question, please post there. Thanks!
IZWebFileManager
»
IZWebFileManager
»
Requests/Ideas/Developing
»
Role Based Security
Role Based Security
Last post 06-09-2010, 1:31 PM by
igor
. 5 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
05-25-2010, 4:02 PM
496
Dsyfa
Joined on 05-25-2010
Posts 4
Role Based Security
Hi,
I would like certain folders accessible only to certain user roles. Is that possible? Any sort of help would be greatly appreciated.
Thanks
Report abuse
05-25-2010, 4:34 PM
497
in reply to
496
igor
Joined on 06-02-2006
Posts 233
Re: Role Based Security
Hi,
Current version does not support role based security configuration.
But you may control access to the file/folder by handling events such create/delete/rename etc.
and cancel any action if user has not permissions.
Report abuse
05-26-2010, 8:17 AM
498
in reply to
497
Dsyfa
Joined on 05-25-2010
Posts 4
Re: Role Based Security
Thanks for the prompt reply. But I was wondering if it's possible to handle the click event on the Tree menu on the left. If user does not have permission to view the contents it would show an alert box.
Report abuse
05-31-2010, 4:12 PM
501
in reply to
498
igor
Joined on 06-02-2006
Posts 233
Re: Role Based Security
The tree view is populated on demand, but there is no server side event to handle.
It is easy to fix by adding such event and handle it.
It required some code changes. You may do it if you want :)
Report abuse
06-09-2010, 8:03 AM
518
in reply to
501
geocine
Joined on 06-07-2010
Posts 11
Re: Role Based Security
could you give short example igor :) just to enlighten me with your code
Report abuse
06-09-2010, 1:31 PM
523
in reply to
518
igor
Joined on 06-02-2006
Posts 233
Re: Role Based Security
take a look FolderTree.cs file
There is OnFolderPopulate methos - where folder three nodes are created based on file system.
You may raise your event there, and do not populate tree node in case of user set cancel being true.
Report abuse
www.IZWebFileManager.com
izwebfilemanager@gmail.com