title: How to allow aws s3 bucket contents only to publicly serve a certain domain?
body: <p>I am using aws s3 to store my website pictures and video contents. File links from s3 are directly output to html/php.</p>
  
  <p>The problem is that some other sites linked my picture/video, which heavily increased s3 traffic usage, and off course increased the pay bill.</p>
  
  <p>I know in some case people use referer header to prohibit external sites linking. But in this case, picture/video go out directly from s3, not my domain.</p>
  
  <p>Can some one help to achieve this? Thanks.</p>