Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
z92
· 11y ago · 0 comments
Which is why I don't use any database password if the database is listening on localhost only, which is the case most of the time.
Comments
[–]
cubehouse
11y ago
I don't think this is a good idea, even if the database is just listening to localhost. Say a malicious script gets uploaded to the machine, it will be able to dump the entire database without any need to seek out credentials.
[–]
degenerate
11y ago
Agree... it's better to still have credentials, but
ALSO
only listen locally. At least that way the credentials need to be found first!