ondemand icon indicating copy to clipboard operation
ondemand copied to clipboard

Block Directory Views and Traversal in File Browser

Open Oglopf opened this issue 1 year ago • 2 comments

We had a community request come in asking if we could add the ability to the file explorer of not allowing users to traverse directory structures they do not have read access on: https://discourse.openondemand.org/t/file-explorer-capping/3570

So instead of the current behavior of allowing the user to traverse into something like /etc without read permissions, a site could flip some bit to have the read permission checked and prevent this traversal instead or outright block the presentation of the directory in question.

Oglopf avatar Jun 18 '24 15:06 Oglopf

Isn't this allowlists?

https://osc.github.io/ood-documentation/latest/customizations.html?#block-or-allow-directory-access

johrstrom avatar Jun 18 '24 16:06 johrstrom

Good morning! I have checked this and indeed it is already implemented. Thank you very much!

Christian-bustelo avatar Jun 19 '24 08:06 Christian-bustelo