mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 10:55:56 +03:00
[GH-ISSUE #1147] disallow to change directory - possible ? #738
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#738
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @n00bsi on GitHub (Feb 20, 2024).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1147
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 commented on GitHub (Feb 28, 2024):
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 commented on GitHub (May 3, 2024):
Refer to the above settings