On examination, your MySQL installation datadir has become recursively world read/write/executable. What are two major concerns of running an installation with incorrect file privileges? (Choose two.)
A.
Users could overwrite configuration files.
B.
Data files could be deleted.
C.
SQL injections could be used to insert bad data into the database.
D.
MySQL binaries could be damaged, deleted, or altered.
E.
Extra startup time would be required for the MySQL server to reset the privileges.
A. Configuration could be changed, but my.cnf is most likely not in it, but others.
B. Data could be altered.
D IS NOT CORRECT.
Data injection is done over a connection, binaries ARE not affected since they are not in the datadir, startup doesn't change permissions.
A. Users could overwrite configuration files: If unauthorized users have write access to MySQL configuration files, they could modify them, potentially leading to misconfigurations that may compromise the security or stability of the database server.
D. MySQL binaries could be damaged, deleted, or altered: Incorrect file privileges could allow unauthorized users to tamper with MySQL binary files, potentially damaging, deleting, or altering them. This could render the MySQL server inoperable or introduce malicious code.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
xjllll
7 months, 3 weeks agomarklv
9 months, 3 weeks agoLrnsTgh
6 months, 4 weeks agoFelipeK
9 months, 3 weeks agomarklv
7 months, 3 weeks ago