11.07.2015 Views

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

www.it-ebooks.infoCHAPTER 29 • SECURING MYSQL• Process_priv: Determines whether the user can view the processes of other usersvia the SHOW PROCESSLIST command.• File_priv: Determines whether the user can execute the SELECT INTO OUTFILE andLOAD DATA INFILE commands.• Grant_priv: Determines whether the user can grant privileges already granted tohimself to other users. For example, if the user can insert, select, and deleteinformation located in the foo database, and has been granted the GRANT privilege,that user can grant any or all of these privileges to any other user located in thesystem.• References_priv: Currently just a placeholder for some future function; it servesno purpose at this time.• Index_priv: Determines whether the user can create and delete table indexes.• Alter_priv: Determines whether the user can rename and alter table structures.• Show_db_priv: Determines whether the user can view the names of all databasesresiding on the server, including those for which the user possesses adequateaccess privileges. Consider disabling this for all users unless there is a particularlycompelling reason otherwise.• Super_priv: Determines whether the user can execute certain powerfuladministrative functions, such as the deletion of user processes via the KILLcommand, the changing of global <strong>MySQL</strong> variables using SET GLOBAL, and theexecution of various commands pertinent to replication and logging.• Create_tmp_table_priv: Determines whether the user can create temporary tables.• Lock_tables_priv: Determines whether the user can block tableaccess/modification using the LOCK TABLES command.• Execute_priv: Determines whether the user can execute stored procedures. Thisprivilege was introduced in <strong>MySQL</strong> 5.0.3.• Repl_slave_priv: Determines whether the user can read the binary logging filesused to maintain a replicated database environment.• Repl_client_priv: Determines whether the user can determine the location of anyreplication slaves and masters.• Create_view_priv: Determines whether the user can create a view. This privilegewas introduced in <strong>MySQL</strong> 5.0. See Chapter 34 for more information about views.• Show_view_priv: Determines whether the user can see a view or learn more abouthow it executes. This privilege was introduced in <strong>MySQL</strong> 5.0. See Chapter 34 formore information about views.• Create_routine_priv: Determines whether the user can create stored proceduresand functions. This privilege was introduced in <strong>MySQL</strong> 5.0.• Alter_routine_priv: Determines whether the user can alter or drop storedprocedures and functions. This privilege was introduced in <strong>MySQL</strong> 5.0.567

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!