Mac server the file is locked for editing

broken image
broken image

To block a website with Hosts file, simply add the following entry :Īlthough I don’t, many users like to manually add entries to block the opening of one or more specific websites. This will lock your Hosts file and prevent someone or any malware from writing to it. To avoid host file hijackings, navigate to it, right-click it, select properties, and make it a read-only file. Malware can redirect web addresses on your computer by modifying your Hosts file. Imagine by clicking and seeing a completely different website in your browser. The Hosts file under Windows is located at the following location : C:WindowsSystem32DriverSetc Lock the Hosts file to prevent hijacking In this message we see its location and also how to manage, lock or edit Hosts file. Only admnistrator owned posts can execute the include me shortcode Lock the Hosts file to prevent hijacking.