{"id":1993,"date":"2014-02-08T11:00:30","date_gmt":"2014-02-08T16:00:30","guid":{"rendered":"http:\/\/sqlity.net\/en\/?p=1993"},"modified":"2014-11-13T13:17:37","modified_gmt":"2014-11-13T18:17:37","slug":"deny-vs-revoke-1","status":"publish","type":"post","link":"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/","title":{"rendered":"DENY vs. REVOKE &#8211; Part 1 &#8211; Are they just synonyms?"},"content":{"rendered":"<div>\n<h3>Introduction<\/h3>\n<p>\nOver the last two weeks we have taken an in-depth look at the <a href=\"http:\/\/sqlity.net\/en\/tag\/grant\/\"><span class=\"tt\">GRANT<\/span><\/a> and <a href=\"http:\/\/sqlity.net\/en\/tag\/revoke\/\"><span class=\"tt\">REVOKE<\/span><\/a> statements. Today I would like to introduce you to a third permission management statement: <span class=\"tt\">DENY<\/span>\n<\/p>\n<p>\nIf you have worked with the <span class=\"tt\">DENY<\/span> before, you might get the feeling this post is leading in the wrong direction. Just hang with me, I promise I won't leave you stranded.\n<\/p>\n<h3>DENY Example<\/h3>\n<p>\nAt first glance the <span class=\"tt\">DENY<\/span> statement looks very similar in functionality to the <a href=\"http:\/\/sqlity.net\/en\/1951\/revoke-undoing-granted-permissions\/\"><span class=\"tt\">REVOKE<\/span><\/a> statement: It removes an existing permission. Let's look at an example.\n<\/p>\n<p>\nFirst we need our principal <span class=\"tt\">TestUser1<\/span> to have read access to <span class=\"tt\">dbo.tst1<\/span>:\n<\/p>\n<p>\n<a href=\"http:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/Simple_GRANT.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/Simple_GRANT.jpg\" alt=\"Simple GRANT\" width=\"768\" height=\"437\" class=\"aligncenter size-full wp-image-1997\" srcset=\"https:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/Simple_GRANT.jpg 768w, https:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/Simple_GRANT-300x170.jpg 300w, https:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/Simple_GRANT-150x85.jpg 150w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a>\n<\/p>\n<p>\nSo far we just used a <a href=\"http:\/\/sqlity.net\/en\/1875\/grant-permissions-t-sql\/\"><span class=\"tt\">GRANT<\/span><\/a> in its most simple form. Now let's see what happens when we use the <span class=\"tt\">DENY<\/span> statement on the same permission:\n<\/p>\n<p>\n<a href=\"http:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/DENY_after_GRANT.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/DENY_after_GRANT.jpg\" alt=\"DENY after GRANT\" width=\"768\" height=\"437\" class=\"aligncenter size-full wp-image-1994\" srcset=\"https:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/DENY_after_GRANT.jpg 768w, https:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/DENY_after_GRANT-300x170.jpg 300w, https:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/DENY_after_GRANT-150x85.jpg 150w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a>\n<\/p>\n<p>\nThe <span class=\"tt\">DENY<\/span> statement causes an existing permission to be removed. We have seen that before, <span class=\"tt\">REVOKE<\/span> works the same way.\n<\/p>\n<p>\nLet's see if a <span class=\"tt\">DENY<\/span> maybe prevents a re-grant:\n<\/p>\n<p>\n<a href=\"http:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/GRANT_after_DENY.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/GRANT_after_DENY.jpg\" alt=\"GRANT after DENY\" width=\"768\" height=\"437\" class=\"aligncenter size-full wp-image-1995\" srcset=\"https:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/GRANT_after_DENY.jpg 768w, https:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/GRANT_after_DENY-300x170.jpg 300w, https:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/GRANT_after_DENY-150x85.jpg 150w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a>\n<\/p>\n<p>\nIt does not. Even after a <span class=\"tt\">DENY<\/span> was executed we can just execute a <span class=\"tt\">GRANT<\/span> to give our principal access to the securable again. That also does work the same way as the <span class=\"tt\">REVOKE<\/span> statement.\n<\/p>\n<p>\nBut look, the error <span class=\"tt\">TestUser1<\/span> got after we executed the <span class=\"tt\">DENY<\/span> explicitly states that the <span class=\"tt\">SELECT<\/span> permission was \"denied\". Maybe there is a hint in that error message. Let's see what error we get after executing a <span class=\"tt\">REVOKE<\/span>:\n<\/p>\n<p>\n<a href=\"http:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/REVOKE_after_GRANT.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/REVOKE_after_GRANT.jpg\" alt=\"REVOKE after GRANT\" width=\"768\" height=\"437\" class=\"aligncenter size-full wp-image-1996\" srcset=\"https:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/REVOKE_after_GRANT.jpg 768w, https:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/REVOKE_after_GRANT-300x170.jpg 300w, https:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/REVOKE_after_GRANT-150x85.jpg 150w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a>\n<\/p>\n<p>\nDarn it - that is exactly the same error message. So it very much looks like <span class=\"tt\">REVERT<\/span> and <span class=\"tt\">DENY<\/span> are just synonyms.\n<\/p>\n<h3>DENY is not the same as REVOKE<\/h3>\n<p>\nIf you just look at a single securable and a single principal in isolation, there is indeed no functional difference between the <span class=\"tt\">REVOKE<\/span> and the <span class=\"tt\">DENY<\/span> statements. However, once you start looking at hierarchies of securables or hierarchies of principals, they actually have a very different functionality.\n<\/p>\n<p>\nTomorrow we are going to look at the <span class=\"tt\">DENY<\/span> statement in the context of hierarchies of security principals.\n<\/p>\n<h3>Summary<\/h3>\n<p>\nWhen looking at a securable and a security principal in isolation there is no discernable difference between <span class=\"tt\">REVOKE<\/span> and <span class=\"tt\">DENY<\/span>. However that is not the full picture, as the next two posts will show. Make sure to come back once they are posted over the next two days.\n<\/p>\n<h3>DENY vs. REVOKE Series<\/h3>\n<p>\nThis post is part of a five-part series comparing the <span class=\"tt\">DENY<\/span> and the <span class=\"tt\">REVOKE<\/span> statements.<br \/>\nBelow is a list of links to the posts that are already available.\n<\/p>\n<div class=\"wp-cpl-sc-wrap wp-cpl-sc-theme-4\">\n        <div class=\"wp-cpl-sc-post\">\n        <h2><a href=\"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/\" title=\"Permalink to: DENY vs. REVOKE - Part 1 - Are they just synonyms?\">DENY vs. REVOKE &#8211; Part 1 &#8211; Are they just synonyms?<\/a><\/h2>\n            <div class=\"clear\"><\/div>\n<\/div>\n<div class=\"wp-cpl-sc-post\">\n        <h2><a href=\"https:\/\/sqlity.net\/en\/2003\/deny-vs-revoke-2\/\" title=\"Permalink to: DENY vs. REVOKE - Part 2 - Hierarchies of Principals\">DENY vs. REVOKE &#8211; Part 2 &#8211; Hierarchies of Principals<\/a><\/h2>\n            <div class=\"clear\"><\/div>\n<\/div>\n<div class=\"wp-cpl-sc-post\">\n        <h2><a href=\"https:\/\/sqlity.net\/en\/2009\/deny-vs-revoke-3\/\" title=\"Permalink to: DENY vs. REVOKE - Part 3 - Hierarchies of Securables\">DENY vs. REVOKE &#8211; Part 3 &#8211; Hierarchies of Securables<\/a><\/h2>\n            <div class=\"clear\"><\/div>\n<\/div>\n<div class=\"wp-cpl-sc-post\">\n        <h2><a href=\"https:\/\/sqlity.net\/en\/2011\/deny-vs-revoke-4\/\" title=\"Permalink to: DENY vs. REVOKE - Part 4 - Hierarchies of Privileges\">DENY vs. REVOKE &#8211; Part 4 &#8211; Hierarchies of Privileges<\/a><\/h2>\n            <div class=\"clear\"><\/div>\n<\/div>\n<div class=\"wp-cpl-sc-post\">\n        <h2><a href=\"https:\/\/sqlity.net\/en\/2051\/deny-vs-revoke-5\/\" title=\"Permalink to: DENY vs. REVOKE - Part 5 - Durability\">DENY vs. REVOKE &#8211; Part 5 &#8211; Durability<\/a><\/h2>\n            <div class=\"clear\"><\/div>\n<\/div>\n<\/div>\n\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>DENY and REVOKE look very similar, they might just be the same. And indeed, when looking at a single security principal and a single securable in isolation that are functionally identical. But there is more to it. Discover their similarities and differences in this five-part series.<\/p>\n<p> <a href=\"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/\">[more&#8230;]<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[104,5,34,96,27],"tags":[103,275,98,38,58,15],"class_list":["post-1993","post","type-post","status-publish","format-standard","hentry","category-deny-vs-revoke","category-general","category-security","category-security-misconceptions","category-series","tag-deny","tag-deny-vs-revoke","tag-revoke","tag-security-2","tag-security-management","tag-sql-server"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>DENY vs. REVOKE - Part 1 - Are they just synonyms? - sqlity.net<\/title>\n<meta name=\"description\" content=\"DENY and REVOKE look very similar, they might just be the same. But there is more to it. Discover their similarities and differences.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DENY vs. REVOKE - Part 1 - Are they just synonyms? - sqlity.net\" \/>\n<meta property=\"og:description\" content=\"DENY and REVOKE look very similar, they might just be the same. But there is more to it. Discover their similarities and differences.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/\" \/>\n<meta property=\"og:site_name\" content=\"sqlity.net\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sqlity.net\" \/>\n<meta property=\"article:published_time\" content=\"2014-02-08T16:00:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-11-13T18:17:37+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/Simple_GRANT.jpg\" \/>\n<meta name=\"author\" content=\"Sebastian Meine\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@sqlity\" \/>\n<meta name=\"twitter:site\" content=\"@sqlity\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sebastian Meine\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/1993\\\/deny-vs-revoke-1\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/1993\\\/deny-vs-revoke-1\\\/\"},\"author\":{\"name\":\"Sebastian Meine\",\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/#\\\/schema\\\/person\\\/bcffd8c572bc2f1bd10fdba80135e53c\"},\"headline\":\"DENY vs. REVOKE &#8211; Part 1 &#8211; Are they just synonyms?\",\"datePublished\":\"2014-02-08T16:00:30+00:00\",\"dateModified\":\"2014-11-13T18:17:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/1993\\\/deny-vs-revoke-1\\\/\"},\"wordCount\":507,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/1993\\\/deny-vs-revoke-1\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/sqlity.net\\\/wp-content\\\/uploads\\\/2014\\\/02\\\/Simple_GRANT.jpg\",\"keywords\":[\"DENY\",\"DENY vs. REVOKE\",\"REVOKE\",\"security\",\"security management\",\"SQL Server\"],\"articleSection\":[\"DENY vs. REVOKE\",\"General\",\"Security\",\"Security Misconceptions\",\"Series\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/sqlity.net\\\/en\\\/1993\\\/deny-vs-revoke-1\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/1993\\\/deny-vs-revoke-1\\\/\",\"url\":\"https:\\\/\\\/sqlity.net\\\/en\\\/1993\\\/deny-vs-revoke-1\\\/\",\"name\":\"DENY vs. REVOKE - Part 1 - Are they just synonyms? - sqlity.net\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/1993\\\/deny-vs-revoke-1\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/1993\\\/deny-vs-revoke-1\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/sqlity.net\\\/wp-content\\\/uploads\\\/2014\\\/02\\\/Simple_GRANT.jpg\",\"datePublished\":\"2014-02-08T16:00:30+00:00\",\"dateModified\":\"2014-11-13T18:17:37+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/#\\\/schema\\\/person\\\/bcffd8c572bc2f1bd10fdba80135e53c\"},\"description\":\"DENY and REVOKE look very similar, they might just be the same. But there is more to it. Discover their similarities and differences.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/1993\\\/deny-vs-revoke-1\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sqlity.net\\\/en\\\/1993\\\/deny-vs-revoke-1\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/1993\\\/deny-vs-revoke-1\\\/#primaryimage\",\"url\":\"http:\\\/\\\/sqlity.net\\\/wp-content\\\/uploads\\\/2014\\\/02\\\/Simple_GRANT.jpg\",\"contentUrl\":\"http:\\\/\\\/sqlity.net\\\/wp-content\\\/uploads\\\/2014\\\/02\\\/Simple_GRANT.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/1993\\\/deny-vs-revoke-1\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/sqlity.net\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DENY vs. REVOKE &#8211; Part 1 &#8211; Are they just synonyms?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/sqlity.net\\\/en\\\/\",\"name\":\"sqlity.net\",\"description\":\"Quality for SQL\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sqlity.net\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/sqlity.net\\\/en\\\/#\\\/schema\\\/person\\\/bcffd8c572bc2f1bd10fdba80135e53c\",\"name\":\"Sebastian Meine\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4ab0a6d02dd494849a584a2c3c8bc3bdcef1d0aa5f87e98bf905dbdb9ad2ce3a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4ab0a6d02dd494849a584a2c3c8bc3bdcef1d0aa5f87e98bf905dbdb9ad2ce3a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4ab0a6d02dd494849a584a2c3c8bc3bdcef1d0aa5f87e98bf905dbdb9ad2ce3a?s=96&d=mm&r=g\",\"caption\":\"Sebastian Meine\"},\"sameAs\":[\"http:\\\/\\\/sqlity.net\",\"https:\\\/\\\/x.com\\\/sqlity\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DENY vs. REVOKE - Part 1 - Are they just synonyms? - sqlity.net","description":"DENY and REVOKE look very similar, they might just be the same. But there is more to it. Discover their similarities and differences.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/","og_locale":"en_US","og_type":"article","og_title":"DENY vs. REVOKE - Part 1 - Are they just synonyms? - sqlity.net","og_description":"DENY and REVOKE look very similar, they might just be the same. But there is more to it. Discover their similarities and differences.","og_url":"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/","og_site_name":"sqlity.net","article_publisher":"https:\/\/www.facebook.com\/sqlity.net","article_published_time":"2014-02-08T16:00:30+00:00","article_modified_time":"2014-11-13T18:17:37+00:00","og_image":[{"url":"http:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/Simple_GRANT.jpg","type":"","width":"","height":""}],"author":"Sebastian Meine","twitter_card":"summary_large_image","twitter_creator":"@sqlity","twitter_site":"@sqlity","twitter_misc":{"Written by":"Sebastian Meine","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/#article","isPartOf":{"@id":"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/"},"author":{"name":"Sebastian Meine","@id":"https:\/\/sqlity.net\/en\/#\/schema\/person\/bcffd8c572bc2f1bd10fdba80135e53c"},"headline":"DENY vs. REVOKE &#8211; Part 1 &#8211; Are they just synonyms?","datePublished":"2014-02-08T16:00:30+00:00","dateModified":"2014-11-13T18:17:37+00:00","mainEntityOfPage":{"@id":"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/"},"wordCount":507,"commentCount":0,"image":{"@id":"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/#primaryimage"},"thumbnailUrl":"http:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/Simple_GRANT.jpg","keywords":["DENY","DENY vs. REVOKE","REVOKE","security","security management","SQL Server"],"articleSection":["DENY vs. REVOKE","General","Security","Security Misconceptions","Series"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/","url":"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/","name":"DENY vs. REVOKE - Part 1 - Are they just synonyms? - sqlity.net","isPartOf":{"@id":"https:\/\/sqlity.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/#primaryimage"},"image":{"@id":"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/#primaryimage"},"thumbnailUrl":"http:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/Simple_GRANT.jpg","datePublished":"2014-02-08T16:00:30+00:00","dateModified":"2014-11-13T18:17:37+00:00","author":{"@id":"https:\/\/sqlity.net\/en\/#\/schema\/person\/bcffd8c572bc2f1bd10fdba80135e53c"},"description":"DENY and REVOKE look very similar, they might just be the same. But there is more to it. Discover their similarities and differences.","breadcrumb":{"@id":"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/#primaryimage","url":"http:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/Simple_GRANT.jpg","contentUrl":"http:\/\/sqlity.net\/wp-content\/uploads\/2014\/02\/Simple_GRANT.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/sqlity.net\/en\/1993\/deny-vs-revoke-1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sqlity.net\/en\/"},{"@type":"ListItem","position":2,"name":"DENY vs. REVOKE &#8211; Part 1 &#8211; Are they just synonyms?"}]},{"@type":"WebSite","@id":"https:\/\/sqlity.net\/en\/#website","url":"https:\/\/sqlity.net\/en\/","name":"sqlity.net","description":"Quality for SQL","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sqlity.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/sqlity.net\/en\/#\/schema\/person\/bcffd8c572bc2f1bd10fdba80135e53c","name":"Sebastian Meine","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4ab0a6d02dd494849a584a2c3c8bc3bdcef1d0aa5f87e98bf905dbdb9ad2ce3a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4ab0a6d02dd494849a584a2c3c8bc3bdcef1d0aa5f87e98bf905dbdb9ad2ce3a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4ab0a6d02dd494849a584a2c3c8bc3bdcef1d0aa5f87e98bf905dbdb9ad2ce3a?s=96&d=mm&r=g","caption":"Sebastian Meine"},"sameAs":["http:\/\/sqlity.net","https:\/\/x.com\/sqlity"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2wXuw-w9","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/sqlity.net\/en\/wp-json\/wp\/v2\/posts\/1993","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sqlity.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sqlity.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sqlity.net\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/sqlity.net\/en\/wp-json\/wp\/v2\/comments?post=1993"}],"version-history":[{"count":0,"href":"https:\/\/sqlity.net\/en\/wp-json\/wp\/v2\/posts\/1993\/revisions"}],"wp:attachment":[{"href":"https:\/\/sqlity.net\/en\/wp-json\/wp\/v2\/media?parent=1993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sqlity.net\/en\/wp-json\/wp\/v2\/categories?post=1993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sqlity.net\/en\/wp-json\/wp\/v2\/tags?post=1993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}