11.07.2015 Views

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

www.it-ebooks.infoCHAPTER 29 • SECURING MYSQLColumn Datatype Null DefaultUpdate_priv enum('N','Y') No NDelete_priv enum('N','Y') No NCreate_priv enum('N','Y') No NDrop_priv enum('N','Y') No NGrant_priv enum('N','Y') No NReferences_priv enum('N','Y') No NIndex_priv enum('N','Y') No NAlter_priv enum('N','Y') No NCreate_tmp_table_priv enum('N','Y') No NLock_tables_priv enum('N','Y') No NCreate_view_priv enum('N','Y') No NShow_view_priv enum('N','Y') No NCreate_routine_priv enum('N','Y') No NAlter_routine_priv enum('N','Y') No NExecute_priv enum('N','Y') No NEvent_priv enum('N','Y') No NTrigger_priv enum('N','Y') No NThe host TableThe host table comes into play only if the db table’s Host field is left blank. You might leave the db table’sHost field blank if a particular user needs access from various hosts. Rather than reproducing andmaintaining several User/Host/Db instances for that user, only one is added (with a blank Host field), andthe corresponding hosts’ addresses are stored in the host table’s Host field.Wildcards, represented by the % and _ characters, may be used in both the Host and Db columns, butnot in the User column. Like the user table, the rows are sorted so that the most specific match takesprecedence over less specific matches. An overview of the host table’s structure is presented in Table29-3.569

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

Saved successfully!

Ooh no, something went wrong!