Security regarding 'hosts' file
Hello! I need the expert advice regarding the file attribute of hosts file. As it could pose a potential threat to system security will it make my computer more secure if I will enable the "read-only" attribute for the file? And if yes, will it somehow affect on installation of 3rd party software? Thanks in advance! Regards, Osman.
February 10th, 2011 3:39pm

By default only administrators (and Windows - SYSTEM) can edit he file. This the the secure way."A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
Free Windows Admin Tool Kit Click here and download it now
February 10th, 2011 4:00pm

Thank you for reply Mr Andre.Ziegler. Yes, I agree with you but the thing is that I am running as an administrator, so it could be edited. Do you still recommend not to select read-only? Thanks, Osman.
February 10th, 2011 4:24pm

the thing is that I am running as an administrator, so it could be edited. Do you still recommend not to select read-only? with UAC you have limited permissions until you request the full admin rights for a special operation. So it should not happen that you accidentally delete the host file."A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
Free Windows Admin Tool Kit Click here and download it now
February 11th, 2011 11:05am

What if I disabled UAC? Alright my ultimate question is: If I will set the 'hosts' file in read-only will it affect an installation of other software (do programs change hosts file or it is just for end-users)? Please just answer this question. I don't need anything regarding the security.
February 11th, 2011 12:27pm

If I will set the 'hosts' file in read-only will it affect an installation of other software (do programs change hosts file or it is just for end-users)? other tools don't edit the host file."A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
Free Windows Admin Tool Kit Click here and download it now
February 11th, 2011 5:11pm

Yes, I agree with you but the thing is that I am running as an administrator, so it could be edited. Do you still recommend not to select read-only? It makes absolutely no difference at all. Malware could just as easily remove the read-only flag, modify the file and mark it read-only again.
February 12th, 2011 12:36am

Alright, now it is clear. Thanks for the answers. All the Best, Osman.
Free Windows Admin Tool Kit Click here and download it now
February 12th, 2011 8:25am

why have you disabled UAC? 90% of the security vulnerabilities are fixed by running with UAC on. With UAC on you don't need to care about it, because you need admin rights."A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
February 12th, 2011 9:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics