1
Web Proxy Filtering and Caching / nginx: Basic Auth with crypted password
« on: August 17, 2023, 09:32:50 pm »
Hey,
I want to use Basic Authentication without storing the credential's passwords in cleartext.
My first shot was to put a valid encrypted string into the password field like:
but that did not work.
Does it work and I'm just doing something wrong? e.g. using a not supported cipher/hash algorithm
As a possible alternative solution I could use OPNsense integrated accounts using advanced acls. But then I would want to somehow decide WHICH of the local users can access.
Thank you.
I want to use Basic Authentication without storing the credential's passwords in cleartext.
My first shot was to put a valid encrypted string into the password field like:
Code: [Select]
$apr1$CvlM9gn1$twwsR5.3jglwaFCIv1qKf/
# disclaimer: of course not the used passwort ;-)
but that did not work.
Does it work and I'm just doing something wrong? e.g. using a not supported cipher/hash algorithm
As a possible alternative solution I could use OPNsense integrated accounts using advanced acls. But then I would want to somehow decide WHICH of the local users can access.
Thank you.