{"id":3438,"date":"2023-10-24T10:28:00","date_gmt":"2023-10-24T03:28:00","guid":{"rendered":"https:\/\/longvan.net\/cong-dong\/?p=3438"},"modified":"2024-11-28T09:54:52","modified_gmt":"2024-11-28T02:54:52","slug":"tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator","status":"publish","type":"post","link":"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/","title":{"rendered":"T\u1ea1o S3 bucket policy v\u1edbi c\u00f4ng c\u1ee5 AWS Policy Generator"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">1. Gi\u1edbi thi\u1ec7u<\/h2>\n\n\n\n<p>Bucket l\u00e0 \u0111\u01a1n v\u1ecb logic \u0111\u1ec3 l\u01b0u tr\u1eef d\u1eef li\u1ec7u c\u1ee7a d\u1ecbch v\u1ee5 S3, m\u1eb7c \u0111\u1ecbnh c\u00e1c quy\u1ec1n truy c\u1eadp c\u00e1c object trong bucket th\u00ec ch\u1ec9 cho User ch\u1ee9a bucket \u0111\u00f3 \u0111\u01b0\u1ee3c quy\u1ec1n truy c\u1eadp, v\u00e0 Access list (quy\u1ec1n truy c\u1eadp) v\u1edbi c\u00e1c User kh\u00e1c b\u1ecb disabled. <\/p>\n\n\n\n<p>\u0110\u1ec3 c\u00e1c object \u0111\u01b0\u1ee3c truy c\u1eadp b\u1edfi c\u00e1c user kh\u00e1c v\u1edbi quy\u1ec1n t\u01b0\u01a1ng \u1ee9ng th\u00ec ta ph\u1ea3i th\u1ef1c hi\u1ec7n g\u00e1n quy\u1ec1n cho t\u1eebng object nh\u01b0ng nh\u01b0 th\u1ebf s\u1ebd m\u1ea5t nhi\u1ec1u th\u1eddi gian \u0111\u1ec3 th\u1ef1c hi\u1ec7n cho t\u1eebng object. N\u00ean vi\u00eac th\u1ef1c hi\u1ec7n t\u1ea1o bucket policy \u0111\u1ec3 \u00e1p d\u1ee5ng cho Bucket n\u00e0o \u0111\u00f3 \u0111\u1ec3 quy \u0111\u1ecbnh quy\u1ec1n cho Folder ho\u1eb7c object s\u1ebd thu\u1eadn ti\u1ec7n h\u01a1n. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. H\u01b0\u1edbng d\u1eabn <\/h2>\n\n\n\n<p>Hi\u1ec7n AWS cung c\u1ea5p 1 c\u00f4ng c\u1ee5 h\u1ed7 tr\u1ee3 t\u1ea1o policy b\u1eb1ng tr\u00ecnh duy\u1ec7t web thu\u1eadn ti\u1ec7n, nhanh ch\u00f3ng, \u0111\u1ecba ch\u1ec9 truy c\u1eadp https:\/\/awspolicygen.s3.amazonaws.com\/policygen.html<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"618\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_10-1024x618.png\" alt=\"\" class=\"wp-image-3457\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_10-1024x618.png 1024w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_10-300x181.png 300w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_10-768x464.png 768w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_10.png 1292w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Step 1: ch\u1ecdn S3 Bucket policy<\/p>\n\n\n\n<p>Step 2:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Effect c\u00f3 2 l\u1ef1a ch\u1ecdn l\u00e0 Allow (cho ph\u00e9p) ho\u1eb7c Deny (t\u1eeb ch\u1ed1i) th\u1ec3 hi\u1ec7n quy\u1ec1n th\u1ef1c thi<\/li><li>Principal l\u00e0 \u0111\u1ecbnh danh ng\u01b0\u1eddi d\u00f9ng, gi\u00e1 tr\u1ecb &#8220;*&#8221; \u1ee9ng v\u1edbi anonymous user cho ph\u00e9p t\u1ea5t c\u1ea3 user<\/li><li>AWS Service : Amazon S3<\/li><li>Actions: l\u1ef1a ch\u1ecdn c\u00e1c quy\u1ec1n \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng v\u00ed d\u1ee5 nh\u01b0 GetObject, ListBucket, &#8230;<\/li><li>Amazon Resource Name (ARN) l\u00e0 t\u00e0i nguy\u00ean s\u1ebd \u0111\u01b0\u1ee3c \u00e1p d\u1ee5ng<ul><li>arn:aws:s3:::&lt;bucket-name&gt; : resource l\u00e0 bucket th\u01b0\u1eddng \u0111i k\u00e8m v\u1edbi c\u00e1c thao t\u00e1c t\u00e1c \u0111\u1ed9ng t\u1edbi Bucket nh\u01b0 ListBucket, PutBucketAcl, PutBucketCORS &#8230;<\/li><li>arn:aws:s3:::&lt;bucket-name&gt;\/*: to\u00e0n b\u1ed9 th\u00e0nh ph\u1ea7n ch\u1ee9a trong bucket, ngo\u00e0i ra c\u00f3 th\u1ec3 ch\u1ec9 \u0111\u1ecbnh prefix c\u1ee5 th\u1ec3 nh\u01b0 folder trong bucket arn:aws:s3:::&lt;bucket&gt;\/&lt;folder&gt;\/*.<\/li><\/ul><\/li><\/ul>\n\n\n\n<p>Sau khi \u0111i\u1ec1n \u0111\u1ee7 th\u00f4ng tin th\u00ec nh\u1ea5n Add Statement<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"539\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_1-1-1024x539.png\" alt=\"\" class=\"wp-image-3458\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_1-1-1024x539.png 1024w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_1-1-300x158.png 300w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_1-1-768x404.png 768w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_1-1.png 1390w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Step 3: Generate Policy s\u1ebd t\u1ea1o ra th\u00f4ng tin policy d\u01b0\u1edbi d\u1ea1ng JSON<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"808\" height=\"506\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_2-2.png\" alt=\"\" class=\"wp-image-3459\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_2-2.png 808w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_2-2-300x188.png 300w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_2-2-768x481.png 768w\" sizes=\"auto, (max-width: 808px) 100vw, 808px\" \/><\/figure>\n\n\n\n<p>D\u00f9ng th\u00f4ng tin tr\u00ean apply v\u00e0o bucket b\u1eb1ng trang qu\u1ea3n l\u00fd d\u1ecbch v\u1ee5 ho\u1eb7c c\u00e1c tools h\u1ed7 tr\u1ee3 nh\u01b0 s3cmd, s3browser, aws-cli &#8230;<\/p>\n\n\n\n<p>M\u1ed9t s\u1ed1 v\u00ed d\u1ee5 c\u1ee5 th\u1ec3<\/p>\n\n\n\n<p>V\u00ed d\u1ee5 1: cho ph\u00e9p t\u1ea3i to\u00e0n b\u1ed9 object trong Bucket (Folder)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"Id\": \"Policy1698306933714\",\n  \"Version\": \"2012-10-17\",\n  \"Statement\": &#091;\n    {\n      \"Sid\": \"Stmt1698305948104\",\n      \"Action\": &#091;\n        \"s3:GetObject\"\n      ],\n      \"Effect\": \"Allow\",\n      \"Resource\": \"arn:aws:s3:::s3zam\/Images\/*\",\n      \"Principal\": \"*\"\n    }\n  ]\n}<\/code><\/pre>\n\n\n\n<p>V\u00ed d\u1ee5 2: ch\u1ec9 cho ph\u00e9p c\u00e1c domain trong danh s\u00e1ch \u0111\u01b0\u1ee3c xem n\u1ed9i d\u1ee5ng trong Bucket (Folder)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"Id\": \"Policy1698307087710\",\n  \"Version\": \"2012-10-17\",\n  \"Statement\": &#091;\n    {\n      \"Sid\": \"Stmt1698307082300\",\n      \"Action\": &#091;\n        \"s3:GetObject\"\n      ],\n      \"Effect\": \"Allow\",\n      \"Resource\": \"arn:aws:s3:::s3zam\/videos\/*\",\n      \"Condition\": {\n        \"StringLike\": {\n          \"aws:Referer\": &#091;\n            \"https:\/\/longvan.net\",\n            \"https:\/\/s3-hcm-r1.longvan.net\"\n          ]\n        }\n      },\n      \"Principal\": \"*\"\n    }\n  ]\n}<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Gi\u1edbi thi\u1ec7u Bucket l\u00e0 \u0111\u01a1n v\u1ecb logic \u0111\u1ec3 l\u01b0u tr\u1eef d\u1eef li\u1ec7u c\u1ee7a d\u1ecbch v\u1ee5 S3, m\u1eb7c \u0111\u1ecbnh c\u00e1c quy\u1ec1n truy c\u1eadp c\u00e1c object trong bucket th\u00ec ch\u1ec9 cho User ch\u1ee9a bucket \u0111\u00f3 \u0111\u01b0\u1ee3c quy\u1ec1n truy c\u1eadp, v\u00e0 Access list (quy\u1ec1n truy c\u1eadp) v\u1edbi c\u00e1c User kh\u00e1c b\u1ecb disabled. \u0110\u1ec3 c\u00e1c object \u0111\u01b0\u1ee3c truy [&hellip;]<\/p>\n","protected":false},"author":20,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_oasis_is_in_workflow":0,"_oasis_original":0,"footnotes":""},"categories":[19],"tags":[191],"class_list":["post-3438","post","type-post","status-publish","format-standard","hentry","category-cloud-storage","tag-cloud-storage"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>T\u1ea1o S3 bucket policy v\u1edbi c\u00f4ng c\u1ee5 AWS Policy Generator - Long V\u00e2n<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"T\u1ea1o S3 bucket policy v\u1edbi c\u00f4ng c\u1ee5 AWS Policy Generator - Long V\u00e2n\" \/>\n<meta property=\"og:description\" content=\"1. Gi\u1edbi thi\u1ec7u Bucket l\u00e0 \u0111\u01a1n v\u1ecb logic \u0111\u1ec3 l\u01b0u tr\u1eef d\u1eef li\u1ec7u c\u1ee7a d\u1ecbch v\u1ee5 S3, m\u1eb7c \u0111\u1ecbnh c\u00e1c quy\u1ec1n truy c\u1eadp c\u00e1c object trong bucket th\u00ec ch\u1ec9 cho User ch\u1ee9a bucket \u0111\u00f3 \u0111\u01b0\u1ee3c quy\u1ec1n truy c\u1eadp, v\u00e0 Access list (quy\u1ec1n truy c\u1eadp) v\u1edbi c\u00e1c User kh\u00e1c b\u1ecb disabled. \u0110\u1ec3 c\u00e1c object \u0111\u01b0\u1ee3c truy [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/\" \/>\n<meta property=\"og:site_name\" content=\"Long V\u00e2n\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-24T03:28:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-28T02:54:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_10.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1292\" \/>\n\t<meta property=\"og:image:height\" content=\"780\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Nguy\u1ec5n Ng\u1ecdc T\u00f9ng\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nguy\u1ec5n Ng\u1ecdc T\u00f9ng\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 ph\u00fat\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\\\/\"},\"author\":{\"name\":\"Nguy\u1ec5n Ng\u1ecdc T\u00f9ng\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/person\\\/78f458896595db43a7d67c5a741b7693\"},\"headline\":\"T\u1ea1o S3 bucket policy v\u1edbi c\u00f4ng c\u1ee5 AWS Policy Generator\",\"datePublished\":\"2023-10-24T03:28:00+00:00\",\"dateModified\":\"2024-11-28T02:54:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\\\/\"},\"wordCount\":480,\"publisher\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Screenshot_10-1024x618.png\",\"keywords\":[\"cloud storage\"],\"articleSection\":[\"Cloud Storage\"],\"inLanguage\":\"vi\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\\\/\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\\\/\",\"name\":\"T\u1ea1o S3 bucket policy v\u1edbi c\u00f4ng c\u1ee5 AWS Policy Generator - Long V\u00e2n\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Screenshot_10-1024x618.png\",\"datePublished\":\"2023-10-24T03:28:00+00:00\",\"dateModified\":\"2024-11-28T02:54:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\\\/#breadcrumb\"},\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\\\/#primaryimage\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Screenshot_10.png\",\"contentUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Screenshot_10.png\",\"width\":1292,\"height\":780},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trang ch\u1ee7\",\"item\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"T\u1ea1o S3 bucket policy v\u1edbi c\u00f4ng c\u1ee5 AWS Policy Generator\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#website\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/\",\"name\":\"Long V\u00e2n\",\"description\":\"C\u1ed9ng \u0110\u1ed3ng\",\"publisher\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"vi\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#organization\",\"name\":\"Long V\u00e2n\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/cropped-logo-longvancloudsolution.png\",\"contentUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/cropped-logo-longvancloudsolution.png\",\"width\":1300,\"height\":330,\"caption\":\"Long V\u00e2n\"},\"image\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/person\\\/78f458896595db43a7d67c5a741b7693\",\"name\":\"Nguy\u1ec5n Ng\u1ecdc T\u00f9ng\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/14446e1a226f9e5a908dd705e99a2995127b3eb2764447cc47320ac6c78b1f1e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/14446e1a226f9e5a908dd705e99a2995127b3eb2764447cc47320ac6c78b1f1e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/14446e1a226f9e5a908dd705e99a2995127b3eb2764447cc47320ac6c78b1f1e?s=96&d=mm&r=g\",\"caption\":\"Nguy\u1ec5n Ng\u1ecdc T\u00f9ng\"},\"sameAs\":[\"https:\\\/\\\/longvan.net\"],\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/author\\\/ngoctung\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"T\u1ea1o S3 bucket policy v\u1edbi c\u00f4ng c\u1ee5 AWS Policy Generator - Long V\u00e2n","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:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/","og_locale":"vi_VN","og_type":"article","og_title":"T\u1ea1o S3 bucket policy v\u1edbi c\u00f4ng c\u1ee5 AWS Policy Generator - Long V\u00e2n","og_description":"1. Gi\u1edbi thi\u1ec7u Bucket l\u00e0 \u0111\u01a1n v\u1ecb logic \u0111\u1ec3 l\u01b0u tr\u1eef d\u1eef li\u1ec7u c\u1ee7a d\u1ecbch v\u1ee5 S3, m\u1eb7c \u0111\u1ecbnh c\u00e1c quy\u1ec1n truy c\u1eadp c\u00e1c object trong bucket th\u00ec ch\u1ec9 cho User ch\u1ee9a bucket \u0111\u00f3 \u0111\u01b0\u1ee3c quy\u1ec1n truy c\u1eadp, v\u00e0 Access list (quy\u1ec1n truy c\u1eadp) v\u1edbi c\u00e1c User kh\u00e1c b\u1ecb disabled. \u0110\u1ec3 c\u00e1c object \u0111\u01b0\u1ee3c truy [&hellip;]","og_url":"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/","og_site_name":"Long V\u00e2n","article_published_time":"2023-10-24T03:28:00+00:00","article_modified_time":"2024-11-28T02:54:52+00:00","og_image":[{"width":1292,"height":780,"url":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_10.png","type":"image\/png"}],"author":"Nguy\u1ec5n Ng\u1ecdc T\u00f9ng","twitter_card":"summary_large_image","twitter_misc":{"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi":"Nguy\u1ec5n Ng\u1ecdc T\u00f9ng","\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"3 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/#article","isPartOf":{"@id":"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/"},"author":{"name":"Nguy\u1ec5n Ng\u1ecdc T\u00f9ng","@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/person\/78f458896595db43a7d67c5a741b7693"},"headline":"T\u1ea1o S3 bucket policy v\u1edbi c\u00f4ng c\u1ee5 AWS Policy Generator","datePublished":"2023-10-24T03:28:00+00:00","dateModified":"2024-11-28T02:54:52+00:00","mainEntityOfPage":{"@id":"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/"},"wordCount":480,"publisher":{"@id":"https:\/\/longvan.net\/cong-dong\/#organization"},"image":{"@id":"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/#primaryimage"},"thumbnailUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_10-1024x618.png","keywords":["cloud storage"],"articleSection":["Cloud Storage"],"inLanguage":"vi"},{"@type":"WebPage","@id":"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/","url":"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/","name":"T\u1ea1o S3 bucket policy v\u1edbi c\u00f4ng c\u1ee5 AWS Policy Generator - Long V\u00e2n","isPartOf":{"@id":"https:\/\/longvan.net\/cong-dong\/#website"},"primaryImageOfPage":{"@id":"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/#primaryimage"},"image":{"@id":"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/#primaryimage"},"thumbnailUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_10-1024x618.png","datePublished":"2023-10-24T03:28:00+00:00","dateModified":"2024-11-28T02:54:52+00:00","breadcrumb":{"@id":"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/#primaryimage","url":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_10.png","contentUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/10\/Screenshot_10.png","width":1292,"height":780},{"@type":"BreadcrumbList","@id":"https:\/\/longvan.net\/cong-dong\/tao-s3-bucket-policy-voi-cong-cu-aws-policy-generator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Trang ch\u1ee7","item":"https:\/\/longvan.net\/cong-dong\/"},{"@type":"ListItem","position":2,"name":"T\u1ea1o S3 bucket policy v\u1edbi c\u00f4ng c\u1ee5 AWS Policy Generator"}]},{"@type":"WebSite","@id":"https:\/\/longvan.net\/cong-dong\/#website","url":"https:\/\/longvan.net\/cong-dong\/","name":"Long V\u00e2n","description":"C\u1ed9ng \u0110\u1ed3ng","publisher":{"@id":"https:\/\/longvan.net\/cong-dong\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/longvan.net\/cong-dong\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi"},{"@type":"Organization","@id":"https:\/\/longvan.net\/cong-dong\/#organization","name":"Long V\u00e2n","url":"https:\/\/longvan.net\/cong-dong\/","logo":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/logo\/image\/","url":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2025\/11\/cropped-logo-longvancloudsolution.png","contentUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2025\/11\/cropped-logo-longvancloudsolution.png","width":1300,"height":330,"caption":"Long V\u00e2n"},"image":{"@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/person\/78f458896595db43a7d67c5a741b7693","name":"Nguy\u1ec5n Ng\u1ecdc T\u00f9ng","image":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/secure.gravatar.com\/avatar\/14446e1a226f9e5a908dd705e99a2995127b3eb2764447cc47320ac6c78b1f1e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/14446e1a226f9e5a908dd705e99a2995127b3eb2764447cc47320ac6c78b1f1e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/14446e1a226f9e5a908dd705e99a2995127b3eb2764447cc47320ac6c78b1f1e?s=96&d=mm&r=g","caption":"Nguy\u1ec5n Ng\u1ecdc T\u00f9ng"},"sameAs":["https:\/\/longvan.net"],"url":"https:\/\/longvan.net\/cong-dong\/author\/ngoctung\/"}]}},"_links":{"self":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/3438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/comments?post=3438"}],"version-history":[{"count":3,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/3438\/revisions"}],"predecessor-version":[{"id":3466,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/3438\/revisions\/3466"}],"wp:attachment":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/media?parent=3438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/categories?post=3438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/tags?post=3438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}