January 2018
Intermediate to advanced
446 pages
12h 57m
English
Stored procedures are also used to enhance the security. The user needs the EXECUTE privilege on the stored procedure to execute it. By the definition of a stored routine:
DEFINER: A user even with only the EXECUTE permission for routine can call and get the output of the stored routine, regardless of whether that user has permission on the underlying tables or not. It is enough if DEFINER has privileges.
INVOKER: The security context is switched to the user who invokes the stored routine. In ...
Read now
Unlock full access