{"id":1400,"date":"2021-12-16T16:11:23","date_gmt":"2021-12-16T16:11:23","guid":{"rendered":"https:\/\/gatlabs.com\/knowledge\/?post_type=docs&#038;p=1400"},"modified":"2022-02-15T13:58:40","modified_gmt":"2022-02-15T13:58:40","password":"","slug":"create-a-policy-for-any-given-file-or-folder","status":"publish","type":"docs","link":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/create-a-policy-for-any-given-file-or-folder\/","title":{"rendered":"Create a Policy for Any Given File or Folder"},"content":{"rendered":"<div><span style=\"font-size: 16px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;\">You have a document that is Shared with a particular department of your organization. This document is allowed to be shared among your domain, but Sharing it out to users, not from your domain is forbidden.<\/span><\/div>\n<div>\n<div class=\"gmail_signature\" dir=\"ltr\" data-smartmail=\"gmail_signature\">\n<div dir=\"ltr\">\n<p>You do not want to restrict it only to certain users, but everyone to have access to the Document, and if it is Shared out &#8211; the external users to be automatically removed.<\/p>\n<p>Using GAT+ an admin can apply a rule on Google Doc or Folder and remove the external users and perform all the actions below <strong>automatically after each scan.<\/strong><\/p>\n<p>The important thing to remember about a narrow policy like this is that the file might also be subject to a big policy, which could warn the owners too. When designing policies for whole domains you have to carefully think out the domain-wide ones and the specific ones.<\/p>\n<ul>\n<li>So do you allow all shares and block specific ones, or do you block all shares and allow specific ones?<\/li>\n<li>Do you do nothing and just warn people once a month about files shared out that changed during the month?<\/li>\n<li>Are there some cases where you just remove access and don\u2019t warn people?<\/li>\n<\/ul>\n<p>These can become very complex questions which the Admin team needs to think through with the managers as to what is the appropriate level of external sharing and\/or warnings.<\/p>\n<ul>\n<li>Remove All Internal and External Shares<\/li>\n<li>Remove Internal\n<ul>\n<li>Remove All Internal Shares<\/li>\n<li>Remove Only the following Internal Shares<\/li>\n<li>Remove Groups Members<\/li>\n<\/ul>\n<\/li>\n<li>Remove External\n<ul>\n<li>Remove All External Shares<\/li>\n<li>Remove Only the following External Shares<\/li>\n<li>Remove All External Shares Excluding the following:<\/li>\n<\/ul>\n<\/li>\n<li>Replace permissions\n<ul>\n<li>Replace &#8220;Public&#8221; with &#8220;Public at generalaudittool.com&#8221;<\/li>\n<li>Replace &#8220;Public at generalaudittool.com&#8221; with &#8220;Public at generalaudittool.com with link&#8221;<\/li>\n<li>Replace &#8220;Public with link&#8221; with &#8220;Public at generalaudittool.com with link&#8221;<\/li>\n<li>Replace &#8220;Public&#8221; with &#8220;Public with link&#8221;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>Find File<\/h3>\n<p>In <strong>GAT+ \u2192 Drive \u2192 \u00a0Files \u2192 Apply a custom filter \u2192 Search by Title\u00a0<\/strong><\/p>\n<p>Search for the File\/Folder in the example below we <strong>search by Title<\/strong>.<\/p>\n<blockquote><p>Admin can <strong>use any other search parameter to find the file they need.<\/strong><\/p><\/blockquote>\n<\/div>\n<\/div>\n<div class=\"gmail_signature\" dir=\"ltr\" data-smartmail=\"gmail_signature\">\n<div dir=\"ltr\">\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-1548\" src=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_17_05-GAT.png\" alt=\"\" width=\"1439\" height=\"625\" srcset=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_17_05-GAT.png 1439w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_17_05-GAT-300x130.png 300w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_17_05-GAT-1024x445.png 1024w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_17_05-GAT-768x334.png 768w\" sizes=\"(max-width: 1439px) 100vw, 1439px\" \/><\/p>\n<p>When the result is displayed, click on it and <strong>get the File ID. <\/strong> Click on the document and copy the File ID.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1549\" src=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_26_58-GAT.png\" alt=\"\" width=\"1411\" height=\"508\" srcset=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_26_58-GAT.png 1411w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_26_58-GAT-300x108.png 300w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_26_58-GAT-1024x369.png 1024w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_26_58-GAT-768x277.png 768w\" sizes=\"(max-width: 1411px) 100vw, 1411px\" \/><\/p>\n<div>\n<div class=\"gmail_signature\" dir=\"ltr\" data-smartmail=\"gmail_signature\">\n<div dir=\"ltr\">\n<p>When you have the <strong>File_ID<\/strong><strong> copied <\/strong>apply the filter and search by the ID<\/p>\n<\/div>\n<\/div>\n<figure class=\"gmail-aligncenter gmail-is-resized\"><\/figure>\n<div class=\"gmail_signature\" dir=\"ltr\" data-smartmail=\"gmail_signature\">\n<div dir=\"ltr\">\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1550\" src=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_39_01-GAT.png\" alt=\"\" width=\"1073\" height=\"277\" srcset=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_39_01-GAT.png 1073w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_39_01-GAT-300x77.png 300w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_39_01-GAT-1024x264.png 1024w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_39_01-GAT-768x198.png 768w\" sizes=\"(max-width: 1073px) 100vw, 1073px\" \/><\/p>\n<p>This will show the same file again, we use this to <strong>make sure the rule<\/strong> we will <strong>apply<\/strong> is<strong> only<\/strong> for the <strong>selected File.<\/strong><\/p>\n<ul>\n<li><strong>Type &#8211; Simple filter\u00a0<\/strong><\/li>\n<li>Definition &#8211;\n<ul>\n<li><strong>File ID equals the ID selected<\/strong><\/li>\n<\/ul>\n<\/li>\n<li><strong>Scheduled<\/strong> &#8211; enable the checkmark<\/li>\n<\/ul>\n<\/div>\n<div dir=\"ltr\">\n<div class=\"gmail-wp-block-image\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1551\" src=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_47_54-GAT.png\" alt=\"\" width=\"1117\" height=\"684\" srcset=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_47_54-GAT.png 1117w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_47_54-GAT-300x184.png 300w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_47_54-GAT-1024x627.png 1024w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_47_54-GAT-768x470.png 768w\" sizes=\"(max-width: 1117px) 100vw, 1117px\" \/><\/p>\n<ul>\n<li>Export type &#8211; select how the file is to be exported\n<ul>\n<li>Drive files<\/li>\n<li>Drive files with the split layer folder path<\/li>\n<li>Drive files with the original folder path<\/li>\n<\/ul>\n<\/li>\n<li><strong>Occurrence<\/strong> &#8211; select the time <strong>when<\/strong> you want this <strong>policy to run<\/strong><\/li>\n<li><strong>Enabled<\/strong> &#8211; the report to run on not<\/li>\n<li>Recipients &#8211; enter the recipients to the report<\/li>\n<li>Output type &#8211; select the output type of the report\n<ul>\n<li>CSV &#8211; Google drive<\/li>\n<li>CSV &#8211; Google Cloud storage<\/li>\n<\/ul>\n<\/li>\n<li>Custom path and filename &#8211; enter a custom path where the report will be uploaded to &#8211; if none is selected, it will be set to the default location below.\n<ul>\n<li>The file will be uploaded to the<strong class=\"ng-binding\">..\/DriveAudit\/2021-12-16<\/strong> directory on the recipient&#8217;s Google Drive. If there will be a file (created by GAT) with the same name in the directory &#8211; the file will be overwritten.<\/li>\n<\/ul>\n<\/li>\n<li>Apply &amp; Schedule &#8211; Apply the filter and Schedule the report<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1552\" src=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_57_56-GAT.png\" alt=\"\" width=\"1119\" height=\"653\" srcset=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_57_56-GAT.png 1119w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_57_56-GAT-300x175.png 300w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_57_56-GAT-1024x598.png 1024w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-15_57_56-GAT-768x448.png 768w\" sizes=\"(max-width: 1119px) 100vw, 1119px\" \/><\/p>\n<div dir=\"ltr\">\n<h4>Scheduled report<\/h4>\n<p>The report will be <strong>Scheduled<\/strong><\/p>\n<p>Navigate to<strong> GAT+<\/strong> <strong>\u2192 Configuration \u2192 Scheduled reports \u2192\u00a0 Job action edit <\/strong>button<\/p>\n<\/div>\n<\/div>\n<div class=\"gmail_signature\" dir=\"ltr\" data-smartmail=\"gmail_signature\">\n<div dir=\"ltr\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1554\" src=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-16_06_23-GAT.png\" alt=\"\" width=\"1516\" height=\"617\" srcset=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-16_06_23-GAT.png 1516w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-16_06_23-GAT-300x122.png 300w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-16_06_23-GAT-1024x417.png 1024w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-16_06_23-GAT-768x313.png 768w\" sizes=\"(max-width: 1516px) 100vw, 1516px\" \/><\/p>\n<p>When this is option is selected New window will be displayed.<\/p>\n<p>In Scheduled Job Details <strong>click on<\/strong><\/p>\n<ul>\n<li><strong>External<\/strong> tab<\/li>\n<li><strong>Remove All External Shares\u00a0<\/strong><\/li>\n<li>Configure\n<ul>\n<li>Status &#8211;\u00a0<strong>Enabled<\/strong><\/li>\n<\/ul>\n<\/li>\n<li><strong>Save settings\u00a0<\/strong><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1555\" src=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-16_08_55-GAT.png\" alt=\"\" width=\"980\" height=\"852\" srcset=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-16_08_55-GAT.png 980w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-16_08_55-GAT-300x261.png 300w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-16_08_55-GAT-768x668.png 768w\" sizes=\"(max-width: 980px) 100vw, 980px\" \/><\/p>\n<\/div>\n<div dir=\"ltr\">\n<h4>Result<\/h4>\n<p>An Action of <strong>Removing External Shares to be done, on the selected File, on a weekly basis.<\/strong><\/p>\n<blockquote><p>Note: To revoke the action simply \u201cDisable\u201d by selecting <strong>Status = Disabled<\/strong><\/p><\/blockquote>\n<h3>Find Folder<\/h3>\n<p>The Above method can be used to find a Folder and use the &#8220;File ID&#8221; to set up a policy.<\/p>\n<p>Find the Folder ID, then Schedule report for it, and under Job Action edit (Scheduled jobs details) set the Action you want to take on the Folder.<\/p>\n<blockquote><p>Note: For Folder, the permissions will be removed on the root Folder itself<\/p><\/blockquote>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>You have a document that is Shared with a particular department of your organization. This document is allowed to be shared among your domain, but Sharing it out to users, not from your domain is forbidden. You do not want to restrict it only to certain users, but everyone to have access to the Document, [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[37],"glossaries":[],"doc_tag":[24],"class_list":["post-1400","docs","type-docs","status-publish","hentry","doc_category-dlp-data-loss-prevention","doc_tag-gat"],"year_month":"2026-04","word_count":715,"total_views":"1456","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"barb","author_nicename":"barb","author_url":"https:\/\/gatlabs.com\/knowledge\/author\/barb\/"},"doc_category_info":[{"term_name":"DLP (Data Loss Prevention)","term_url":"https:\/\/gatlabs.com\/knowledge\/tech-tips-category\/dlp-data-loss-prevention\/"}],"doc_tag_info":[{"term_name":"GAT+","term_url":"https:\/\/gatlabs.com\/knowledge\/tech-tips-tag\/gat\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Create a Policy for Any Given File or Folder - GAT Knowledge Base<\/title>\n<meta name=\"description\" content=\"You have a document that is Shared with a particular department of your organization. This document is allowed to be shared among your domain, but Sharing it out to users, not from your domain is forbidden.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gatlabs.com\/knowledge\/tech-tips\/create-a-policy-for-any-given-file-or-folder\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create a Policy for Any Given File or Folder\" \/>\n<meta property=\"og:description\" content=\"You have a document that is Shared with a particular department of your organization. This document is allowed to be shared among your domain, but Sharing it out to users, not from your domain is forbidden.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gatlabs.com\/knowledge\/tech-tips\/create-a-policy-for-any-given-file-or-folder\/\" \/>\n<meta property=\"og:site_name\" content=\"GAT Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-15T13:58:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_17_05-GAT.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/create-a-policy-for-any-given-file-or-folder\\\/\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/create-a-policy-for-any-given-file-or-folder\\\/\",\"name\":\"Create a Policy for Any Given File or Folder - GAT Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/create-a-policy-for-any-given-file-or-folder\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/create-a-policy-for-any-given-file-or-folder\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/2021-12-16-14_17_05-GAT.png\",\"datePublished\":\"2021-12-16T16:11:23+00:00\",\"dateModified\":\"2022-02-15T13:58:40+00:00\",\"description\":\"You have a document that is Shared with a particular department of your organization. This document is allowed to be shared among your domain, but Sharing it out to users, not from your domain is forbidden.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/create-a-policy-for-any-given-file-or-folder\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/create-a-policy-for-any-given-file-or-folder\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/create-a-policy-for-any-given-file-or-folder\\\/#primaryimage\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/2021-12-16-14_17_05-GAT.png\",\"contentUrl\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/2021-12-16-14_17_05-GAT.png\",\"width\":1439,\"height\":625},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/create-a-policy-for-any-given-file-or-folder\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech Tips\",\"item\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a Policy for Any Given File or Folder\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#website\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/\",\"name\":\"GAT Knowledge Base\",\"description\":\"Your source of all things GAT\",\"publisher\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#organization\",\"name\":\"GAT Labs Knowledge Base\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/Group-1159.svg\",\"contentUrl\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/Group-1159.svg\",\"width\":361,\"height\":97,\"caption\":\"GAT Labs Knowledge Base\"},\"image\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Create a Policy for Any Given File or Folder - GAT Knowledge Base","description":"You have a document that is Shared with a particular department of your organization. This document is allowed to be shared among your domain, but Sharing it out to users, not from your domain is forbidden.","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:\/\/gatlabs.com\/knowledge\/tech-tips\/create-a-policy-for-any-given-file-or-folder\/","og_locale":"en_GB","og_type":"article","og_title":"Create a Policy for Any Given File or Folder","og_description":"You have a document that is Shared with a particular department of your organization. This document is allowed to be shared among your domain, but Sharing it out to users, not from your domain is forbidden.","og_url":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/create-a-policy-for-any-given-file-or-folder\/","og_site_name":"GAT Knowledge Base","article_modified_time":"2022-02-15T13:58:40+00:00","og_image":[{"url":"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_17_05-GAT.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/create-a-policy-for-any-given-file-or-folder\/","url":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/create-a-policy-for-any-given-file-or-folder\/","name":"Create a Policy for Any Given File or Folder - GAT Knowledge Base","isPartOf":{"@id":"https:\/\/gatlabs.com\/knowledge\/#website"},"primaryImageOfPage":{"@id":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/create-a-policy-for-any-given-file-or-folder\/#primaryimage"},"image":{"@id":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/create-a-policy-for-any-given-file-or-folder\/#primaryimage"},"thumbnailUrl":"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_17_05-GAT.png","datePublished":"2021-12-16T16:11:23+00:00","dateModified":"2022-02-15T13:58:40+00:00","description":"You have a document that is Shared with a particular department of your organization. This document is allowed to be shared among your domain, but Sharing it out to users, not from your domain is forbidden.","breadcrumb":{"@id":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/create-a-policy-for-any-given-file-or-folder\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gatlabs.com\/knowledge\/tech-tips\/create-a-policy-for-any-given-file-or-folder\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/create-a-policy-for-any-given-file-or-folder\/#primaryimage","url":"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_17_05-GAT.png","contentUrl":"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/12\/2021-12-16-14_17_05-GAT.png","width":1439,"height":625},{"@type":"BreadcrumbList","@id":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/create-a-policy-for-any-given-file-or-folder\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gatlabs.com\/knowledge\/"},{"@type":"ListItem","position":2,"name":"Tech Tips","item":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/"},{"@type":"ListItem","position":3,"name":"Create a Policy for Any Given File or Folder"}]},{"@type":"WebSite","@id":"https:\/\/gatlabs.com\/knowledge\/#website","url":"https:\/\/gatlabs.com\/knowledge\/","name":"GAT Knowledge Base","description":"Your source of all things GAT","publisher":{"@id":"https:\/\/gatlabs.com\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gatlabs.com\/knowledge\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/gatlabs.com\/knowledge\/#organization","name":"GAT Labs Knowledge Base","url":"https:\/\/gatlabs.com\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/gatlabs.com\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/11\/Group-1159.svg","contentUrl":"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/11\/Group-1159.svg","width":361,"height":97,"caption":"GAT Labs Knowledge Base"},"image":{"@id":"https:\/\/gatlabs.com\/knowledge\/#\/schema\/logo\/image\/"}}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/docs\/1400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/comments?post=1400"}],"version-history":[{"count":8,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/docs\/1400\/revisions"}],"predecessor-version":[{"id":2949,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/docs\/1400\/revisions\/2949"}],"wp:attachment":[{"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/media?parent=1400"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/doc_category?post=1400"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/glossaries?post=1400"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/doc_tag?post=1400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}