PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
{
"Version":"2008-10-17",
"Id":"http referer policy example",
"Statement":[
{
"Sid":"Allow get requests referred by www.mysite.com and mysite.com",
"Effect":"Allow",
"Principal":"*",
"Action":"s3:GetObject",
"Resource":"arn:aws:s3:::example-bucket/*",
"Condition":{
"StringLike":{
"aws:Referer":[
" http://www.mysite.com/*",
" http://mysite.com/*"
]
}
}
}
]
}
{
"Version":"2008-10-17",
"Id":"Bucket policy for example-bucket 2010-07-27 17:27:54 elving",
"Statement":[
{
"Sid":"Allow get requests referred by mydomain.com and www.mydomain.com",
"Effect":"Allow",
"Principal":"*",
"Action":"s3:GetObject",
"Resource":"arn:aws:s3:::bucketname/*",
"Condition":{
"StringLike":{
"aws:Referer":[
"http://mydomain.com/*",
"http://www.mydomain.com/*"
]
}
}
}
]
}
{
"Sid":"Allow get requests that don't specify a referrer (e.g. requests from JW Player)",
"Effect":"Allow",
"Principal":"*",
"Action":"s3:GetObject",
"Resource":"arn:aws:s3:::bucketname/*",
"Condition":{
"Null":{
"aws:Referer":true
}
}
}
]
}
Users browsing this forum: Exabot [Bot], Google [Bot], Yahoo [Bot] and 1 guest