Host File Adobe Block

Active2 years, 6 months ago

If I want to block a domain e.g. foobar.com using the host file, I understand from another thread that I can't use wildcards to cover all versions of the domain but have to list each version separately.

  1. EliuTimana / Corel Draw x6 Block Active Hosts File forked from jhuyvu/Corel Draw x6 Block Active Hosts File. Created Jun 14, 2017. Star 0 Fork 1 Code Revisions 1 Forks 1. What would you like to do? Embed Embed this gist in your website.
  2. And you are looking for a way to block using Windows host file, then this article is for your. Bellow you will get a proper way to block Adobe Photoshop CC activation using Windows host file. STEP One: First open your notepad using Administration permission. Search for notepad and right click on it to see the option to run as Administration permission.
  3. Now, you can select the hosts file and click Open. Adding files to the hosts file is very simple. The hosts file uses the format: IP Address exampledomain.com. Blocking a website in Windows is as simple as typing the following into the bottom of the hosts file: 127.0.0.1 www.exampledomain.com.

That being so, what are all the possible versions I would have to list in order to fully block the domain? For example:

To block adobe from phoning home you need to modify your hosts file: on a mac. Open a “Terminal” and type: sudo nano /private/etc/hosts. Copy & Paste this lines. How to reset your Mac's Hosts file. When you're ready to undo your changes and restore where your Mac's Hosts file routes to, you can do so by replacing the current host file with a new set of terms. You don't need Terminal for this reset. Make sure Finder is selected on your Mac. Click on Go in the Mac menu bar. Click on Go to Folder. Proxy authentication pop up with Adobe blocking entries in host file 4thLegaxy. May 05, 2017. I downloaded Photoshop trial installer from Adobe site and tried opening it. It opened up and showed me proxy authentication pop up. I don't require proxy to connect to internet nor I use proxy. I don't use VPN either.

http: with/without doubleyou,doubleyou,doubleyou

doubleyou,doubleyou,doubleyou (without http)

https:

ftp

etc

What is the definitive full list? What other types need to be covered? Are some types as listed duplicates (in terms of how the host file interprets them) such as http: with doubleyou,doubleyou,doubleyou ..... and doubleyou,doubleyou,doubleyou......

Host file to block adobe

(Sorry about the doubleyou,doubleyou,doubleyou but if I write them normally, the editor insists they are actual links and disallows them unless I 'wrap them in a code block' whatever that is).

Host File Adobe Block
dnamandnaman

3 Answers

I Assume with hosts file you're talking about /etc/hosts or it's os specific equivalent, if not, my answer won't be of any value.

First, you're lucky, as it doesn't care (or, correctly, know) anything about protocols.the hosts file is only about hostnames (or domains).

Second, you're bad luck. There is no way to retrieve all existing hosts under a specific domain. In fact, the names could be even dynamic, and don't need to exist befor beeing queried.

To block anything behind example.com., you have two options:

  1. Run your own local DNS server, with a record for *.foobar.com., andrecursing everthing else to the real dns.

  2. Sniff on dns traffic, grep every request for foobar.com., anddynamically add all labels found that way to your hosts file. Thiswill only take effect after some time, so it's not bulletproof, andwill be damn hard to do correct.

2.) is bullshit.

1.) is the way do it. It's the way everyone in the need uses.

Running your own DNS isn't rocket science, and there are lots of friendly resources on the net. Try googling for 'bind howto'.

But, take a minute and reconsider your goals.

If you want to forbid some program to phone home, a moderate amount of traffic sniffing will probably reveal any hostnames it uses, and you can put them into your hosts file manually.

On the other hand, if you want prevent users (humans) watching youporn, don't bother, they are probably smarter than you, and will circumvent your actions faster than you can deploy them.

blackhat.bladeblackhat.blade

You answered yourself. You cannot use wildcards according to hosts file specifications.

You might want to try a different and more complex approach if you really need to block a domain in its entirety. E.g. you might want to run your own DNS applying filtering properly.

The cheapest is to use a Raspberry Pi hardware to install a DNS service (be sure to run DHCP on Raspy or set your home router accordingly, or use static IPs).

usr-local-ΕΨΗΕΛΩΝusr-local-ΕΨΗΕΛΩΝ
2,35814 gold badges51 silver badges90 bronze badges

Might be a old question but clearly still was never answered.

Simple:

127.0.0.1 x.y.z //direct lookup to localhost address

That will block any domain named. Its cheap and dirty but it works as you are telling your computer that this domain is located at your 'local IP' thus it never does anything but timeout.

I use this method to kill seriously sketchy popup websites that most adblock software wont even stop.

sycholicsycholic

Not the answer you're looking for? Browse other questions tagged blocking or ask your own question.

On occasion you will need to edit the hosts file on your machine. Sometimes because of an attack or prank, and others so that you can simply and freely control access to websites and network traffic.

hosts files have been in use since ARPANET. They were used to resolve hosts names before DNS. hosts files would be massive documents used to aide the network name resolution.

Microsoft kept the hosts file alive in Windows networking which is why it varies very little whether used in Windows, macOS, or Linux. The syntax stays mostly the same across all platforms. Most hosts files will have several entries for loopback. We can use that for the basic example for the typical syntax.

The first part will be the location to redirect the address to, the second part will be the address that you will want to redirect, and the third part is the comment. They can be separated by a space, but for ease of reading are typically separated by one or two tabs.

127.0.0.1 localhosts #loopback

Now let’s look at accessing the hosts files in the different operating systems…

Windows 8 or 8.1 or 10

Unfortunately Windows 8 or 10 makes it annoying to open apps as administrator — but it’s not too difficult. Just search for Notepad, then right-click on Notepad in the search results list, and choose to run it as administrator. If you’re using Windows 10 this will be on the Start Menu.

If you’re using Windows 10, it’ll look more like this:

Once you’ve done so, open up the following file using the File -> Open feature.

c:windowssystem32driversetchosts

Then you can edit as normal.

Windows 7

To access the hosts file in Windows 7 you can use the following command in the Run Line to open notepad and the file.

notepad c:windowssystem32driversetchosts

Once notepad is open you can edit the file. In this example we will block Facebook. To do this just enter in the following after the # mark.

0.0.0.0 www.facebook.com

Now that you have edited your Hosts file make sure to save it.

Now notice if we try to access Facebook in IE we can’t get to the page.

Edit Host File To Block Adobe Activation

We also were not able to get to it in Google Chrome… (check notes at the end). Also for more info on editing your Hosts file, check out The Geek’s article on how to create a shortcut to quickly edit your Hosts file.

Ubuntu

In Ubuntu 10.04 and most Linux distro’s you can edit the hosts file directly in the terminal. You can use your favorite editor or even open your favorite GUI text editor. For this example we will use VIM. Like Windows 7, Ubuntu’s hosts file is located in the /etc/ folder, though here it is in the root of the drive. In order to edit the file you will need to open it as root which is why we use sudo here.

Host File Adobe Block In Word

Now that it is open we can edit it to redirect Facebook into nothing. You will notice that with Ubuntu there is also a section for IP6. For most needs you will only need to edit it the top section and ignore the IP6.

Now we can save the file and try to go to Facebook.com. Just like in windows we will see that we are now redirected to a site that does not exist.

macOS (Any Version)

In macOS, accessing the hosts file is very similar to Ubuntu. Begin in terminal and use your favorite editor, even is you wish to call a GUI text editor, it is easier to do so from terminal.

The file will look a bit more like Windows, only with a little less explanation. Again we are going to redirect Facebook.

This time it seems that 0.0.0.0 is a loopback and will direct you to the computers Apache test page.

Notes

There are some things to note from this walkthrough that we did notice. When tested it, Chrome did not use the hosts file in any operating system but we were able to block Facebook in Chrome by adding www.facebook.com. Also, make sure to place and extra line after the last entry for the section.

Adobe Blocker Host File

This should get you started in understanding the Hosts file and how it can help protect your computer. You can use it to block sites that you don’t want a PC to be able to access. If you have more suggestions for any of the operating systems we coved, then leave a comment and let us know!

READ NEXT

Adobe Blocker Host File Mac

  • › Windows 10’s Phone Calls Will Support All Android 7+ Phones
  • › What Is Patch Tuesday for Windows, and When Is It?
  • › How to Disable Interactive Pop-Up Ads on Your Roku TV
  • › What’s New in macOS 10.15 Catalina, Available Now
  • › How to Copy and Back Up Files To External Storage on iPhone and iPad