These are my params
Code: Select all
document.writeln('<PARAM NAME="param2" VALUE="s3bucket">');
document.writeln('<PARAM NAME="value2" VALUE="bigfilesit">');
document.writeln('<PARAM NAME="param3" VALUE="awsaccesskeyid">');
document.writeln('<PARAM NAME="value3" VALUE="----">');
document.writeln('<PARAM NAME="param4" VALUE="s3policy">');
document.writeln('<PARAM NAME="value4" VALUE="---">');
document.writeln('<PARAM NAME="param5" VALUE="s3signature">');
document.writeln('<PARAM NAME="value5" VALUE="---">');
document.writeln('<PARAM NAME="param6" VALUE="account">');
document.writeln('<PARAM NAME="value6" VALUE="dispari">');
document.writeln('<PARAM NAME="param7" VALUE="s3acl">');
document.writeln('<PARAM NAME="value7" VALUE="public-read">');
Code: Select all
{
"expiration": "2010-06-15T12:00:00.000Z",
"conditions": [
{"bucket": "bigfilesit" },
{"acl": "public-read"},
["starts-with", "$key", ""],
["starts-with", "$Content-Type", ""]
]
}
Code: Select all
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>E1A3A7423A072761</RequestId>
<HostId>
NrVJfkIk540IVYTdmkYW581an6OurQUGg7QN2iNgTZDThzZbpN2UJs/ZjXsagzl0
</HostId>
</Error>
Please note, the account parameters is changed every time from js.
Where's the pink elephant i'm missing?