Skip to content

FileSystem microservice: restrict file browsing locations

vtkFileSystemMicroservice has a new method AddRootDirectory(realPath,mappedPath,location location[CLIENT|SERVER]) that allows restricting the user of the microservice to browsing only directories under realPath. Additionally, the paths are transformed so that mappedPath is visible instead of realPath. This is useful if the application runs on a server and we want to restrict the user to browse only under the provided location and needs to hide the real system paths.

Merge request reports