fileReference.download()

If i want to use fileReference.download() files from another domain do i need cross domain policy or not?
or i need something else?
thanks!

also, can I download files only from http/https protocol or can I use relative links like for example:
“images/image01.jpg”
Will this work?