I recently started to learn the basics of SQL and while I was looking for a data manipulation language, data management language, data definition language, something didn't make sense.
As I understand it, Data Control Language has 3 keywords: Grant, Deny, Revoke.
A βgrantβ allows specified users to do certain things. "Cancel" destroys any security permission specified by the specified users.
However, I do not understand, this is "Deny."
If users do not have access (Is there a special term for computer science?) To a specific database at the beginning, why would a programmer who develops a database would "Deny" that the user is allowed on this database? It does not make sense.
Can someone tell me why and where to use "Deny"?
source share