Skip to content

Commit ff6b23e

Browse files
Do not mark objects as public-read in the S3 bucket
There's no reason for the world to be able to read our objects. We read them using the API keys, so we still have access.
1 parent 5727d15 commit ff6b23e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/db/file.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ pub fn add_path_into_database<P: AsRef<Path>>(conn: &Connection,
160160

161161
let content: Option<Vec<u8>> = if let Some(client) = &client {
162162
let s3_res = client.put_object(PutObjectRequest {
163-
acl: Some("public-read".into()),
164163
bucket: "rust-docs-rs".into(),
165164
key: bucket_path.clone(),
166165
body: Some(content.clone().into()),

0 commit comments

Comments
 (0)