User-defined Functions Security

You are viewing an old version of this article. View the current version here.

The MariaDB server imposes a number of limitations to user-defined functions for security purposes.

  • The INSERT privilege for the mysql database is required to run CREATE FUNCTION UDF, as a record will be added to the mysql.func-table.
  • The DELETE privilege for the mysql database is required to run DROP FUNCTION UDF as the correpsonding record will be removed from the mysql.func-table.
  • UDF object files can only be placed in the plugin directory, as specified by the value of the plugin_dir system variable.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.