Allowing just any client to connect to your database (via PostgreSQL or otherwise)
without authentication is risky, and should in general be avoided.
If RavenDB is not set as a secure server, it will require no authentication over the PostgreSQL protocol.
To allow access only for authorized clients -
- Set RavenDB as a Secure Server.
This will allow RavenDB to authenticate PostgreSQL clients, in addition
to many other security measures this setup provides.
- Create PostgreSQL Credentials using RavenDB Studio.
PostgreSQL credentials are a user name and a password, that a client
would have to provide in order to access the database.