I would like to block the execution of any instance of CSS's url()
function in CSS provided by my server. One promising method would be a CSP, but I'm not sure if this is possible using a CSP. Is it? And if not, what is the best way to accomplish this?
The reason is, there are some instances where users can modify CSS for other users, and I don't want them to be able to cause IP address leaks of users via the url() function.