Task: To allow users to include images from another server into a web page.
What should be considered to make it safe?
How to check that the link leading to a file is a working image that does not contain malicious code, which, for example, will steal a user's cookie?