Give user access only to File Manager app

Hi,

One of my clients asked to have access to Hestia panel to use File Manager app.

Is it possible to give him access only to File manager app and nothing else?

Thanks for any advice.

Best regards,
Roberto Jobet

Filemanager only isnt possible, he needs to login over the hestia backend with his user and would see the normal user view of hestia itself.

1 Like

You could install standalone web based filemanager.

3 Likes

@parzival

You mean Hestia’s File Manager or a different one?

yeah, something like : https://github.com/prasathmani/tinyfilemanager
From description it say: "It allows the creation of multiple users and each user can have its own directory … "

Ok heres what you should do:
download TinyFileManager here: https://github.com/prasathmani/tinyfilemanager/archive/master.zip
2. Unzip it and you will find folder: tinyfilemanager-master and in that folder few files:
config.php
LICENSE
README.md
tinyfilemanager.php
translation.json
etc.
in config.php file there are lines like this:
$auth_users = array(
‘admin’ => ‘$2y$10$/K.hjNr84lLNDt8fTXjoI.DBp6PpeyoJ.mGwrrLuCZfAwfSAGqhOW’, //[email protected]
‘user’ => ‘$2y$10$Fg6Dz8oH9fPoZ2jJan5tZuv6Z4Kp7avtQ9bDfrdRntXtPeiMAZyGO’ //12345
);

admin has hashed password : $2y$10$/K.hjNr84lLNDt8fTXjoI.DBp6PpeyoJ.mGwrrLuCZfAwfSAGqhOW
you should change that generating new hashed password here:
https://tinyfilemanager.github.io/docs/pwd.html and insert it instead of default admin password you have.
Also you can erase user “user” with its hashed password.
save config.php and exit.
Next thing to do is to rename tinyfilemanager.php to index.php
Now, connect to your hosting account using FTP (filezilla for example) and in public_html create folder like tinyfilemanger or whatewer you like and upload : config.php, index.php and the rest of the files.
now when you go to https://www.yourdomain.com/tinyfilemanager/ you will be welcomed with login screen, use admin/yourpass

1 Like