I have an NGINX server(with a wordpress site) and use Google Cloud Storage to feed my content. I have noticed sites hot-linking to my files without any attribution.
I suppose I need:
- to make my links expire after a while so that the are no good after a while
- for my wordpress site to pass an AUTH TOKEN to permit access to my files
- for my google cloud storage not to feed a file unless its coming from the correct REFERRER?
How would someone accomplish this?
There are several methods of controlling access to GCS buckets and/or individual objects, you need to study them to see which one fits your case best. From Access Control Options: