I like playing an older version of Minecraft, 1.5.2, but there is a newer version available; and at the title screen, there is a nagging message saying that 1.6.2 is available for download. In this question there is an answer saying that you must block the link http://assets.minecraft.net/1_6_has_been_released.flag but not the whole assets.minecraft.net.
How can I block HTTP access to this file, without blocking access to the entire domain or buying any equipment?
Best Answer
Browsers are for humans, not for software - Minecraft doesn't "use a browser", but it doesn't mean it works in a different way. Actually, it's using exactly the same protocol that browsers do: HTTP.
I have two ideas on blocking that file. Both should work, but both will have some side effects.
Block port 80 in your firewall. This is not a good idea, because it will affect all Java programs, so I'm not going into details. If you want to try it, then you can access Windows Firewall by pressing Win+R and typing
wf.msc
.Block
http://assets.minecraft.net/
system-wide through yourhosts
file. Open Notepad as Adminstrator (right-click it → Open as Administrator), click File → Open and typeC:\Windows\System32\drivers\etc\hosts
. Open the file and add following line at the end:This one has some unpleasant side effects too: none of your programs will be able to connect to that address for any purpose.