I asked this question: What would happen if some random webpage made an Ajax request for http://127.0.0.1/private.txt?
The answers/comments confuse me. Am I right in interpreting them like this?
"Even though Ajax requests to 127.0.0.1 will apparently be blocked if they are made from any other domain/IP address, 192.168.1.1 will not have that protection."
Is that correct? If so, why is that? I'm very confused about how "casually" this is mentioned and how cryptically it's described. It seems like the most important point to focus on, unless I completely misunderstand something.
Why would 192.168.1.1 (and supposedly other IP addresses beginning with 192.) Ajax requests be allowed from www.evilmalwaresite.ru?
(Or in the src for an <img>, for that matter.)