Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disallow to change directory - possible ? #1147

Open
n00bsi opened this issue Feb 20, 2024 · 2 comments
Open

disallow to change directory - possible ? #1147

n00bsi opened this issue Feb 20, 2024 · 2 comments

Comments

@n00bsi
Copy link

n00bsi commented Feb 20, 2024

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 ?

@iinfotecnica
Copy link

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...

@hestiacn
Copy link

hestiacn commented May 3, 2024

image
Refer to the above settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants