February 1, 201511 yr Hello, Is it possible to generate a "global" .htpasswd with all froxlor customers to secure the directory where froxlor and other third-party apps like phpmyadmin, webftp or webmail are located. The idea is to get an additional security layer between outsiders and the system. Thanks in advance!
February 1, 201511 yr not from within the panel...but just add something like this to a manually created config file that you are able to include in apache.conf: <Directory "/var/www/froxlor/"> Options -Indexes AuthType Basic AuthName "Nothing here" AuthUserFile /etc/apache2/my-generated-user-passwd.htpasswd require valid-user </Directory>
February 2, 201511 yr Author Thanks you for your answer! Of course I can create the files myself, but the problem is, that I have to distribute and control the passwords for that file. It would be great if the users actual password are stored in this file automatically and would be updated when the user changes his password. Then I could just use this file where I need it. Is this worth a feature request?
February 2, 201511 yr We secure froxlor with user/password and session...so i personally would reject such a feature request.
July 30, 201511 yr Well, given the information-leak yesterday, I'd vote for something additionally Especially as phpMyAdmin and other additional apps do not provide features against brute-force-attacks, this would benefit all users and having to enter ones access-credentials twice would not do much harm anyways. Authentication could be done using mysql (at least in apache) directly and I'd appreciate this additional layer of security. Thank you in advance, hk
July 30, 201511 yr How would this help against a phpmyadmin login with known credentials that are read from the logs (under specific circumstances of course)?
January 2, 201610 yr In an earlier post it was mentioned: not from within the panel...but just add something like this to a manually created config file that you are able to include in apache.conf I tried the following: In the apache2.conf I added this: IncludeOptional sites-enabled_froxlor/*.conf In the newly created folder I added a file froxlor.conf with the following content: <Directory "/var/www/froxlor/"> Options -Indexes AuthType Basic AuthName "Restricted Area" AuthUserFile /etc/apache2/froxlor_htpasswd/froxlor.htpasswd require valid-user</Directory> The password file is stored in the /etc/apache2/froxlor_htpasswd/froxlor.htpasswd file. However the Apache is not picking up the directions. It is reading the file froxlor.conf for sure. If for example the </Directory> is missing it gives an error message on restart. My guess is, that it is ignored, because the file 10_froxlor_ipandport_xx.xxx.xxx.xx.xx.conf contains the <Virtual Host> including the <Director> options for the var/www/froxlor directory and everything outside the Virtual Host is ignored. Is there any possibility to get the Baisc Authentification working for the froxlor directory? Thank you for any hint.
Archived
This topic is now archived and is closed to further replies.