AWS S3 的 Bucket Policy

以 Referer 決定是否可以存取的功能等了好久:「Amazon S3 Bucket Policies - Another Way to Protect Your Content」。

Bucket Policy 必須以 Amazon 自訂的語法設定條件,可以看某些 header 設定是否允許存取 S3 的物件,像是 User-agentReferer

不過看了文件,沒有 regular expression 可以用?只有 shell expression (支援 *? 而已),應該是夠用但感覺還是怪怪的...

This entry was posted in AWS, Cloud, Computer, Murmuring, Network, Security, WWW. Bookmark the permalink.

One Response to AWS S3 的 Bucket Policy

  1. Tom Kao says:

    只有S3可以但CloudFront沒有對很多人來講好像還是不太實用

Leave a Reply

Your email address will not be published. Required fields are marked *