restrict amazon s3 upload to only certain audio file types
Budjetti $10-30 USD
restrict amazon s3 upload to only certain audio file types
right now its uploading from php directly to s3 and its accepting all files.
i created a bucket policy but its not working:
{
"Version": "2012-10-17",
"Id": "Policy1464968545158",
"Statement": [
{
"Sid": "Stmt1464968483619",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::319275815876:user/danieled"
},
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::hotvoice/mp3/*.mp3"
},
{
"Sid": "Stmt1464968483619",
"Effect": "Deny",
"Principal": "*",
"Action": "s3:PutObject",
"NotResource": "arn:aws:s3:::hotvoice/mp3/*.*"
}
]
}
Myönnetty käyttäjälle:
Dear Sir! I think you can try check mime type at php side instead aws s3, it will work. Also i can help you try with aws s3 settings, find out the problem if any to make it working as you want. Thanks!
3 freelanceria on tarjonnut keskimäärin 24$ tähän työhön
Dear Employer, My name is Amit. I am an experienced Web-developer. I have 10+ Years experience in developing websites. I have read the project requirements carefully and I can complete on time within your budget. I Lisää
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 can do th Lisää