[GH-ISSUE #59] Add opportunity to hide tinyfilemanager.php file in file overview #41

Closed
opened 2026-03-02 15:55:12 +03:00 by kerem · 3 comments
Owner

Originally created by @John-H-Smith on GitHub (Sep 7, 2018).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/59

Hi, would be great to add an opportunity to hide the tinyfilemanager.php in the overview, so you can't delete them from it's own code.

Originally created by @John-H-Smith on GitHub (Sep 7, 2018). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/59 Hi, would be great to add an opportunity to hide the tinyfilemanager.php in the overview, so you can't delete them from it's own code.
kerem 2026-03-02 15:55:12 +03:00
Author
Owner

@ruanpetterson commented on GitHub (Sep 10, 2018):

My suggestion to hide the tinyfilemanager.php is the same of this answer.

And, to avoid an accidental or intentional delete, we can use Linux chattr. A simple command like chattr +ai tinyfilemanager.php. The only inconvenience is change the file attributes in every single modification on $auth_users array inside the file.

<!-- gh-comment-id:420019271 --> @ruanpetterson commented on GitHub (Sep 10, 2018): My suggestion to hide the `tinyfilemanager.php` is the same of this [answer](https://github.com/prasathmani/tinyfilemanager/issues/2#issuecomment-322967894). And, to avoid an accidental or intentional delete, we can use Linux `chattr`. A simple command like `chattr +ai tinyfilemanager.php`. The only inconvenience is change the file attributes in every single modification on `$auth_users` array inside the file.
Author
Owner

@alecos71 commented on GitHub (Oct 13, 2018):

and the other people who changed the filemanager's name? In my opinion this request is completely useless ... it could make the file hidden by changing the permissions but this would also affect the other hidden files ... as .htaccess ...

<!-- gh-comment-id:429535765 --> @alecos71 commented on GitHub (Oct 13, 2018): and the other people who changed the filemanager's name? In my opinion this request is completely useless ... it could make the file hidden by changing the permissions but this would also affect the other hidden files ... as .htaccess ...
Author
Owner

@prasathmani commented on GitHub (Oct 18, 2018):

Now can hide files and folders using exclude_items
i.e. $GLOBALS['exclude_items'] = array('FileName.ext', 'FolderName');

<!-- gh-comment-id:430936105 --> @prasathmani commented on GitHub (Oct 18, 2018): Now can hide files and folders using `exclude_items` i.e. `$GLOBALS['exclude_items'] = array('FileName.ext', 'FolderName');`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#41
No description provided.