GOCDB / gocdb-failover-scripts

Scripts and doc for hosting a failover
1 stars 2 forks source link

Check password file permissions #5

Closed ghost closed 1 year ago

ghost commented 3 years ago

Scripts of importing the database (ref #4 ) pull the password from a file. Best practice might be that the scripts first check that the permissions on the file are not too open and fail gracefully with an error if they are.

gregcorbett commented 1 year ago

This has been done for MariaDB databases, which is sufficent.