Need assistance writing Amazon S3 bucket policy

Закрито

Опис

I need help writing my Amazon bucket policy. I need to prevent hotlinking to my files, which the below polciy does.

However, it also blocks actions I'm trying to run from remote computers, specifically putObject and doesObjectExist.

I need to set it up so that if I provide the correct credentials (key and secret) I can run these actions on remote computers.

{

"Version": "2012-10-17",

"Id": "http referer policy example",

"Statement": [

{

"Sid": "Allow get requests referred by [url removed, login to view] and [url removed, login to view]",

"Effect": "Allow",

"Principal": "*",

"Action": "s3:GetObject",

"Resource": "arn:aws:s3:::mybucket/*",

"Condition": {

"StringLike": {

"aws:Referer": [

"[url removed, login to view]*",

"[url removed, login to view]*"

]

}

}

},

{

"Sid": "Explicit deny to ensure requests are allowed only from specific referer.",

"Effect": "Deny",

"Principal": "*",

"Action": "s3:*",

"Resource": "arn:aws:s3:::mydomain/*",

"Condition": {

"StringNotLike": {

"aws:Referer": [

"[url removed, login to view]*",

"[url removed, login to view]*"

]

}

}

}

]

}

Навички: Веб-служби Amazon, PHP

Показати більше: i need help writing a statement of purpose for free, i need help for writing a statement of purpose, amazon reviews writing, amazon review writing, need statement personal computer, writing personal statement university, technical writing need nursing, writing personal statement pgce, writing personal statement sample, need statement purpose written, writing sql statement increase salary, english creative writing personal statement, animation freelance writing budget statement, writing sql statement sample code visual basicnet 2005, writing need

ID проекту: #12159578

9 фрілансерів(-а) подали заявки на цю роботу; середня заявка - $153

yogeshssanwal

Hi there - My name is Jhalak. I’ve read your brief.My team has 4 years experience designing and developing mobile apps and Websites.I would approach your project by starting with wireframes and getting the site complet Більше

$155 USD за 3 дні(-в)
(97 відгуків(-и))
5.8
hirakhan2

Hi,  I have review project details and would like to discuss with you regarding the project. Kindly let me know when available. Thank you.

$155 USD за 3 дні(-в)
(2 відгуків(-и))
2.6
$155 USD за 3 дні(-в)
(5 відгуків(-и))
2.6
$155 USD за 2 дні(-в)
(0 відгуків(-и))
0.0
Irfan285

Hello, My name is Irfan, expert in web scrapping, data crawling and data mining, I have 5 years+ experience in data mining, website scraping, screen scraping I have completed 100+ projects on web scraping -- would LOV Більше

$144 USD за 4 дні(-в)
(0 відгуків(-и))
0.0
hendifauzi

I am a computer graduate from versed with English and Indonesian. I am also punctual and love to take me and see the result. I work as Linux Administrator,Amazon Webservice ,Azure, Digital Ocean , Virtualization, V Більше

$155 USD за 3 дні(-в)
(0 відгуків(-и))
0.0
dirisalagopal

Expert in Amazon web services (EC2, Load Balancers, RDS, Elastic Beanstalk, Elastic File System, IAM, VPC, Security Groups, Cloud Formation, Lambda, S3, CLoudFront, Redshift, Route 53, Cloud Watch, Kinesis, SNS, SQS, A Більше

$100 USD за 0 дні(-в)
(0 відгуків(-и))
0.0
$155 USD за 3 дні(-в)
(0 відгуків(-и))
0.0
jellehelsen

You'll need to add a rule with the correct principal to allow the action you need for the specified user. Something like: { "Version":"2012-10-17", "Statement":[ { "Sid":"Allow Server to add files" Більше

$166 USD за 2 дні(-в)
(0 відгуків(-и))
0.0
$194 USD за 6 дні(-в)
(0 відгуків(-и))
0.0
PeterBeell

Hi Peter here, I am really interested to work on this project, I can start the work now , and can provide the best services from my end. Please come on chat to discuss more about the project. Thanks!

$155 USD за 3 дні(-в)
(0 відгуків(-и))
0.0
logicsoft4

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. I am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have c Більше

$194 USD за 6 дні(-в)
(0 відгуків(-и))
0.0