PreMadeKB Posted April 14, 2017 Report Posted April 14, 2017 I am using "htpasswd" API authorization in SolusVM, How can I add htpasswd username/password so my Blesta can access it? https://documentation.solusvm.com/display/DOCS/Extra+Security+for+the+Admin+API Htpasswd authentication In other billing software I use this code in SolusVM module custom configuration: <htpasswd-username>value</htpasswd-username> <htpasswd-password>value</htpasswd-password> Thanks, Kunnu Quote
0 Jonathan Posted April 14, 2017 Report Posted April 14, 2017 You'd be much better off using IP-based blocking instead of htpasswd. Michael, Blesta Addons and activa 3 Quote
0 PreMadeKB Posted April 15, 2017 Author Report Posted April 15, 2017 Any solution? I do not want to compromise with security. Quote
0 PreMadeKB Posted April 16, 2017 Author Report Posted April 16, 2017 Never mind, I enable this by modifying solusvm_api.php and now password protection is working. Thanks to Open-source activa and Abdy 2 Quote
0 activa Posted April 17, 2017 Report Posted April 17, 2017 19 hours ago, PreMadeKB said: Never mind, I enable this by modifying solusvm_api.php and now password protection is working. Thanks to Open-source SHare your solution for others ... Abdy and Blesta Addons 2 Quote
0 PreMadeKB Posted April 29, 2017 Author Report Posted April 29, 2017 On 4/17/2017 at 6:24 AM, activa said: SHare your solution for others ... This is not a big trick but this is not recommended, Must use different user/password and do not use password of your email account, solusvm, etc. (Must be unique) Simply edit solusvm_api.php and add your htusername:htpasswd@ after http:// code. htusername = Replace it with your username htpasswd = Replace it with your ht password Code should be look like 'http://user:pass@' I think we can add more secure way and can add a feature to add this from SolusVM client area and use some encryption technology. (I am not sure because of I am not a developer ;( .) Quote
Question
PreMadeKB
I am using "htpasswd" API authorization in SolusVM, How can I add htpasswd username/password so my Blesta can access it?
https://documentation.solusvm.com/display/DOCS/Extra+Security+for+the+Admin+API
Htpasswd authentication
In other billing software I use this code in SolusVM module custom configuration:
<htpasswd-username>value</htpasswd-username>
<htpasswd-password>value</htpasswd-password>
Thanks,
Kunnu
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.