Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    how to protect the DB user's password in server.properties

    Hello there

    please tell if there is a way to protect the DB user's password in the server.properties file. The password there is a plaint text.

    sql.defaultDatabase: postgresql

    # --------------------------
    sql.postgresql.database.type: postgresql
    sql.postgresql.interface.type: driverManager

    sql.postgresql.driver: org.postgresql.Driver
    sql.postgresql.driver.url:jdbc:postgresql://10.250.217.120:9999/inplat?user=inplat&password=inplat

    regards,
    Evgeny

    #2
    server.properties is already a file no one can download, but if you wish to move DB passwords somewhere else, you can dynamically provide properties via the server-side Config class.

    Comment

    Working...
    X