Can we prevent others from using the image resources on our discourse?

(parkdoor) #1

If I upload an image on discourse, others can get this image’s link by right-clicking it.
Then others can use this link in their sites but using our server’s resource.
For example, they can just add an image like this: <img src="

Can we prevent that?

(Rory Craig-Barnes) #2

You can attempt prevent it in NGINX see Protecting your Discourse installation for Hotlinking? It is an old thread, but according to @mpalmer in How to do hotlink protection in discourse? it is still relevant

(system) closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.