Before an SPL program is executed, the system checks whether the current user is authorized to access the database objects that are referenced in the program. The GRANT and REVOKE commands are used to grant and remove related permissions on database objects. If the current user attempts to access a database object without permissions, the program will generate an exception.