If you want to apply S3 bucket policy to protect the GET access originating from a URL , check this example out :
Restricting Access to a Specific HTTP Referrer
Here you go published a python code sample written for migrating S3 bucket ownership controls between AWS accounts. The code is written to ...