tinyfilemanager icon indicating copy to clipboard operation
tinyfilemanager copied to clipboard

disallow to change directory - possible ?

Open n00bsi opened this issue 1 year ago • 2 comments

Hello, is it possible to jail a user in a directory ?

https://server.domain.tld/upload/tinyfilemanager.php?p=uploader%2Ftest

for example directories: test, test2, test3

Because at the moment the User click to the URL above login and an move around, go diretory up to test2, test3 etc. But should only have access to diretory: test

How to disable / block this. So that the URL show only the diretory and no others ?

n00bsi avatar Feb 20 '24 09:02 n00bsi

You must change the $root_path and specify the directory. Example

$root_path = $_SERVER['DOCUMENT_ROOT'].'/teste';

Any function from what I understand only works if the folder has chmod 0777 permission Functions such as compressing, editing, etc...

iinfotecnica avatar Feb 28 '24 00:02 iinfotecnica

image Refer to the above settings

hestiacn avatar May 03 '24 21:05 hestiacn