Authentication with DBGate
DBGate supports basic authentication, as specified in RFC2617.
To activate the authentication, use the 'user' and 'pass' placeholders in the connection strings.
To authenticate, DBGate asks for username and password, changes the placeholders to the actual values, and tries to connect to a database.
If the connection is successful, DBGate performs the required action. Otherwise, it returns error 401 "Unauthorized."
Do not use DBGate over HTTP as it sends usernames and passwords as plain text, according to RFC2617.
Always turn on HTTPS and redirect HTTP to HTTPS.