A
A
Alexander Arbuzov2021-07-20 15:46:12
PostgreSQL
Alexander Arbuzov, 2021-07-20 15:46:12

How to configure Apache+WebDav+PostgresSQL authorization?

There is an apache server that acts as a webdav server. When accessing a resource through a browser or webdav, the client is asked for a login/password. Now users and passwords are created via htdigest in a file.
At the same time, there is a database on Postgres where data is stored, including users of the system. Instead of passwords, hashes are stored, as expected.
I can not understand how to make authorization using mod_dbd. In all manuals, a simple example that involves storing passwords in cleartext.
How to check the incoming password, taking into account its encryption in the database?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question