How to connect to a database that requires password without exposing the password?
问题 I am creating an application and I need to connect to a database. The database requires login/password so the application can do operations like select and insert. In the application I need to connect to the database using login and password, so the application is free to do some tasks on the database. My question is: how do I store and use a password to connect to the database without exposing the password? I can't simply use a hash or encryption to store the password because the database