-
Notifications
You must be signed in to change notification settings - Fork 251
How to open (exclusively) a given subfolder
Simply pass the exclusiveFolder GET parameter into the url.
http://mydomain.tld/filemanager/index.html?exclusiveFolder=/my/sub/folder/
The given value should take path relative to the user files storage folder.
To be clear, if user folder "/home/user/files/", the application will ONLY open the folder "/home/user/files/my/sub/folder/".
See also: Passing parameters to the FM
IMPORTANT: exclusiveFolder parameter restricts the view, but it can be changed easily by user just by changing parameter value in URL.
In other words this method is not safe to prevent users for browsing the default root folder. This is not a permission mechanism. It just applies on displaying files.
Please, do use the connector technique on how to setup dynamic user folder to prevent users to access unwanted/forbidden folders.
The use of exclusiveFolder parameter can be combined with expandedFolder option.
Read about expandedFolder parameter