IZWebFileManager

Advanced ASP.NET File Manager
Welcome to IZWebFileManager Sign in | Join | Help
in Search
The forum is moved to http://groups.google.com/group/izwebfilemanager
If you have any question, please post there. Thanks!

Role Based Security

Last post 06-09-2010, 1:31 PM by igor. 5 replies.
Sort Posts: Previous Next
  •  05-25-2010, 4:02 PM 496

    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
  •  05-25-2010, 4:34 PM 497 in reply to 496

    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.
  •  05-26-2010, 8:17 AM 498 in reply to 497

    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.
  •  05-31-2010, 4:12 PM 501 in reply to 498

    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 :)
  •  06-09-2010, 8:03 AM 518 in reply to 501

    Re: Role Based Security

    could you give short example igor :) just to enlighten me with your code
  •  06-09-2010, 1:31 PM 523 in reply to 518

    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.

View as RSS news feed in XML
www.IZWebFileManager.com
izwebfilemanager@gmail.com