I think that setting the defaults admin password to a constant in the code is an unnecessary potential security risk. I don't like the fact that until I change the password the user can tamper with my (admitedlly empty) database. I'd rather have either:
- an admin creation script in which I can set the password (this seems better)
- the option to specify the admin password in a file
admin-password.txt whose contents would be used as the default admin password. That file could be deleted after the database is created for the first time (to avoid having a plaintext password stored on disk)
I think that setting the defaults admin password to a constant in the code is an unnecessary potential security risk. I don't like the fact that until I change the password the user can tamper with my (admitedlly empty) database. I'd rather have either:
admin-password.txtwhose contents would be used as the default admin password. That file could be deleted after the database is created for the first time (to avoid having a plaintext password stored on disk)