#974: Update the lesson text
This commit is contained in:
parent
de453fad84
commit
ba2cb7d14f
@ -9,10 +9,9 @@ If an attacker successfully "injects" DCL type SQL commands into a database, he
|
|||||||
* GRANT - give a user access privileges on database objects
|
* GRANT - give a user access privileges on database objects
|
||||||
* REVOKE - withdraw user privileges that were previously given using GRANT
|
* REVOKE - withdraw user privileges that were previously given using GRANT
|
||||||
* Example:
|
* Example:
|
||||||
** GRANT CREATE TABLE +
|
** GRANT CREATE TABLE TO operator;
|
||||||
TO operator;
|
|
||||||
** This statement gives all users of the operator-role the privilege to create new tables in the database.
|
** This statement gives all users of the operator-role the privilege to create new tables in the database.
|
||||||
|
|
||||||
|
|
||||||
Try to grant the user group "UnauthorizedUser" the right to alter tables:
|
Try to grant rights to the table `grant_rights` to user `unauthorized_user`:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user