I have an independent contractor / freelancer helping with with some optimisation on a specific database.
I have created a new user and given them all permissions for that database.
However, they have asked for the following commands to be run and I just need to make sure I am not creating any security vulnerabilities by doing so:
grant super,reload on *.* to 'odeskuser_priv'@'%' identified by 'abc123';
grant all on mysql.* to 'odeskuser_priv'@'%' identified by 'abc123';
If the user “odeskuser” only has access to one database, would those commands be safe and not open any potential threats for the other dbs?
Thanks
By looking here:
http://dev.mysql.com/doc/refman/5.0/en/privileges-provided.html
Super grants server administration priviliges so I would say that:
Would allow that user to open threads to any DB on the server due to the
*.*which denotes any DB and any table on the server.Edit:
In fact super is very dangerous to give globally: