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

  • Audrey147
    replied
    In SQL Server Management Studio, right-click Security Logins; then select New Login. Enter the username. Change the Server Authentication to SQL Server and Windows Authentication mode. Enter the user's password. Disable password expiration. Click OK Mobdro.
    Last edited by Audrey147; 1st Apr 2019, 01:24.

    Leave a comment:


  • Isomorphic
    replied
    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.

    Leave a comment:

Working...
X