Yeah from my intuition it sounds like this file serves as a makeshift firewall / proxy. Allowing software to override it kinda makes this weak and basically useless for a lot of purposes.
Comment on Adobe modifies hosts file to detect whether Creative Cloud is installed
floofloof@lemmy.ca 17 hours agoI’m trying to think of legitimate reasons why an installer should be able to edit that file, and I can’t think of any. Seems like the OS should lock it down.
hoshikarakitaridia@lemmy.world 13 hours ago
freeman@sh.itjust.works 7 hours ago
It’s a DNS override. DNS is what turns URL addresses (www.Lemmy.org) to IP addresses (127.1.0.42) which are what is used to actually connect to another computer.
Normally your PC asks a DNS server,usually provided by your ISP by default, unless there is an entry in the hosts file.
So authorities often ‘block’ websites by just asking ISP to not return the true IP for a URL. You can get around that by putting the IP in your hosts file. You can also block websites by adding an entry on your hosts file that point to local host (your PC).
grey_maniac@lemmy.ca 16 hours ago
I don’t use windows that much anymore, but couldn’t you make it a read-only file?
hoshikarakitaridia@lemmy.world 13 hours ago
Tbf it’s already write for admins only. But, if you completely remove write access that makes the file itself obsolete (there’s no use in a file that no one can edit) and if you restrict it to trusted installer / verified software, that’s not gonna eliminate Adobe.
lefaucet@slrpnk.net 10 hours ago
Pretty sure to install Adobe you have to give admin permissions
MonkderVierte@lemmy.zip 2 hours ago
From what i remember, the user has to disable some safeguards, to be able to modify it.