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.

CHAPTER 29 • SECURING MYSQLwww.it-ebooks.info• Column_priv: Stores the names of any column-level privileges assigned to that userfor the table referenced by the Table_name column. The purpose for doing so isundocumented, although one would suspect that it is done in an effort to improvegeneral performance.The columns_priv TableThe columns_priv table is responsible for setting column-specific privileges. It comes into play only if theuser, db/host, and tables_priv tables are unable to determine whether the requesting user has adequatepermissions to execute the requested task.An overview of the columns_priv table is found in Table 29-5.Table 29-5. Overview of the columns_priv TableColumn Datatype Null DefaultHost char(60) No No defaultDb char(64) No No defaultUser char(16) No No defaultTable_name char(64) No No defaultColumn_name char(64) No No defaultTimestamp timestamp Yes NullColumn_priv Columnset* No No default*The term columnset is a placeholder for set(Select, Insert, Update, References).All other columns found in this table should be familiar, except Column_name, which specifies thename of the table column affected by the GRANT command.The procs_priv TableThe procs_priv table governs the use of stored procedures and functions. An overview of this table isfound in Table 29-6.572

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

Saved successfully!

Ooh no, something went wrong!