Recommended Posts

You can?t block Facebook using Windows 8?s hosts file

The Windows hosts file offers a great way of blocking or redirecting certain Internet hosts. I?m for instance using it whenever I move websites to a new hosting company to check the life site before the DNS has fully propagated. You can also download software like Hosts Man that allow you to add lists of known malicious sites or advertising servers to the file to block those automatically from being visited on the computer.

In theory, you can add any domain, host or website to the hosts file so that it is blocked on the system. Ghacks reader SGR just informed me that this apparently has changed in the Windows 8 RTM version.

windows-8-hosts-file.png

While you can still add any host you want to the hosts file and map it to an IP, you will notice that some of the mappings will get reset once you open an Internet browser. If you only save, close and re-open the hosts file you will still see the new mappings in the the file, but once you open a web browser, some of them are removed automatically from the hosts file.

Two of the sites that you can?t block using the hosts file are facebook.com and ad.doubleclick.net, the former the most popular social networking site, the second a popular ad serving domain.

The strange thing is that even write protecting the file does not have an effect on it as entries are still removed once you open a web browser. Actually, any kind of Internet connection seems to be enough for that behavior. If you open the Windows Store for instance, the entries get removed as well automatically.

This could be a bug that is affecting only some high profile sites and services, or something that has been added to Windows 8 deliberately. We have contacted Microsoft and are currently waiting for a response from a company representative. Since it is Sunday, it is not likely that this is going to happen today.

It is also in the realm of possibility that the hosts file may not accept other hosts.

Update: Tom just pointed out that turning off Windows Defender, which basically is Microsoft Security Essentials, in Windows 8 will resolve the issue. It appears that the program has been designed to protect some hosts from being added to the Windows hosts file. To turn off Windows Defender press the Windows key, type Windows Defender and hit enter. This launches the program. Switch to Settings here and select Administrator on the left. Locate Turn on Windows Defender and uncheck the preference and click save changes afterwards.

Please note that this turns off Windows Defender, and that it is recommended to have another antivirus program installed on the system to have it protected against Internet and local threats.

Source: ghacks.net

Link to comment
https://www.neowin.net/forum/topic/1099791-you-can/
Share on other sites

in MSE (and i imagine windows defender) you can exclude files. just excludes the hosts file and it should not change it back

^this.

If you modifiy the host file manually, it will trigger a warning (since it's a good way to do man in the middle attacks for example) but you can tell MSE/Windows defender to allow the change, then it won't revert it back.

Link to comment
https://www.neowin.net/forum/topic/1099791-you-can/#findComment-595106487
Share on other sites

A lot of anti-malware suites will prevent changes to the hosts file.. common way to hijack sites and such. Exclude or use a different suite.

Yep... can understand their reasons for doing it. Bit annoying though if you do alter your hosts file when doing testing and so forth.

Link to comment
https://www.neowin.net/forum/topic/1099791-you-can/#findComment-595106497
Share on other sites

A lot of anti-malware suites will prevent changes to the hosts file.. common way to hijack sites and such. Exclude or use a different suite.

It's the fact that it only blocks some sites, that seems very fishy. If you are going to protect the hosts file in this manner, why not protect it entirely?

Link to comment
https://www.neowin.net/forum/topic/1099791-you-can/#findComment-595106829
Share on other sites

It's that fact that it only blocks some sites, that seems very fishy. If you are going to protect the hosts file in this manner, why not protect it entirely?

Look how big facebook.com is. If some trojan decided to link it to a different IP within the hosts file, thats why it only does some domain names. Malware authors dont care about picsofmygranny.com with its 5 users

Link to comment
https://www.neowin.net/forum/topic/1099791-you-can/#findComment-595106851
Share on other sites

or just install some parental lock software. Im assuming you want to block facebook so your kids cant go on cause they are too young and not cause you have no self control can't just not go there

Link to comment
https://www.neowin.net/forum/topic/1099791-you-can/#findComment-595106877
Share on other sites

It's that fact that it only blocks some sites, that seems very fishy. If you are going to protect the hosts file in this manner, why not protect it entirely?

this

i knew that anti-malware solutions block access to the host file or at least that access triggers a warning; the new thing here is that Windows Defender only blocks some sites, witch is odd.

Link to comment
https://www.neowin.net/forum/topic/1099791-you-can/#findComment-595106885
Share on other sites

I am a bit concerned about doubleclick. Is that the common ad platform for Windows 8?

It's one of the biggest ad networks on the internet. Someone being able to redirect all that traffic for their own purposes by modifying someone elses hosts files is quite the issue - considering how many websites have ads served by doubleclick.

By the way, doubleclick is run by Google - Microsoft tends to use their own advertising platform.

Link to comment
https://www.neowin.net/forum/topic/1099791-you-can/#findComment-595106903
Share on other sites

It's one of the biggest ad networks on the internet. Someone being able to redirect all that traffic for their own purposes by modifying someone elses hosts files is quite the issue - considering how many websites have ads served by doubleclick.

By the way, doubleclick is run by Google - Microsoft tends to use their own advertising platform.

Ah, that makes sense.

I would be curious to know if other high-profile sites are prevented from being redirected as well. I'd expect at least the Alexa top 50. Right now, we can justify each of those sites individually, but if it's ONLY those two sites, it's worth questioning.

Link to comment
https://www.neowin.net/forum/topic/1099791-you-can/#findComment-595106927
Share on other sites

It's the fact that it only blocks some sites, that seems very fishy. If you are going to protect the hosts file in this manner, why not protect it entirely?

I am glad it doesn't protect the whole file. I can still use it for my own work (which uses internal domains).

Link to comment
https://www.neowin.net/forum/topic/1099791-you-can/#findComment-595107031
Share on other sites

I can see a very legit use for only doing certain sites. Since DoubleClick is one of the biggest ad networks out there, redirecting it to a mailious IP address using the HOSTS file is a good way to get malware installed. Same with Facebook, and if something like that ever did happen to Mr Average J. User, he wouldn't even begin to know how to fix it.

Link to comment
https://www.neowin.net/forum/topic/1099791-you-can/#findComment-595109165
Share on other sites

Can't believe I'm defending Windows 8, but here goes: I did my own testing here with XP, Vista and 7. It has nothing to do with the OS you are using, and everything to do with MSE. End of story, try it for yourself. MSE will remove certain things from your HOSTS file even if it's Read Only.

Link to comment
https://www.neowin.net/forum/topic/1099791-you-can/#findComment-595109193
Share on other sites

Can't believe I'm defending Windows 8, but here goes: I did my own testing here with XP, Vista and 7. It has nothing to do with the OS you are using, and everything to do with MSE. End of story, try it for yourself. MSE will remove certain things from your HOSTS file even if it's Read Only.

while true, MSE is install by default on windows 8. By doing this i count MSE on windows 8 as part of the windows 8 OS. Im very interested in this, but am not going dog MS and Windows 8 till more is known.

Link to comment
https://www.neowin.net/forum/topic/1099791-you-can/#findComment-595109283
Share on other sites

This topic is now closed to further replies.
  • Posts

    • DJI Neo 2 Fly More Combo gets a Prime Day exclusive pricing by Steven Parker DJI reached out to let us know that the DJI Neo 2 Fly More Combo has reached its lowest price ever ahead of Prime Day that starts tomorrow. This Fly More Combo kit adds two extra batteries, and a charge hub so you can charge all three at the same time, or keep two spares fully charged for quick swap and drone flying. (buying link below) Here are some of the important specifications: DJI Neo 2 Fly More Combo Dimensions: 147x171x41mm without DJI Neo 2 Digital Transceiver 167x171x54mm with DJI Neo 2 Digital Transceiver Takeoff Weight: 151 g without DJI Neo 2 Digital Transceiver 160 g with DJI Neo 2 Digital Transceiver Max Ascent Speed: 0.5 m/s (Cine mode) 3 m/s (Normal mode) 5 m/s (Sport Mode) Max Descent Speed: 0.5 m/s (Cine Mode) 3 m/s (Normal Mode) 3 m/s (Sport Mode) Max Horizontal Speed: 8 m/s (Normal Mode) 12 m/s (Sport Mode) 12 m/s (tracking status) Max Takeoff Altitude: 2000 m Max Flight Time: Approx. 19 minutes (approx. 17 minutes with the propeller guards) Each battery allows the drone to perform at least 20 palm takeoff and landing for shoots in succession Max Hovering Time: Approx. 18 minutes (16.5 minutes with the propeller guards) Max Flight Distance: 7 Km Max Wind Speed Resistance: 10.7 m/s (Level 5) Operating Temperature: -10° to 40° C (14° to 104° F) Global Navigation System: GPS + Galileo + BeiDou Hovering Accuracy Range: Vertical: ±0.1 m (with vision positioning) ±0.5 m (with satellite positioning) Horizontal: ±0.3 m (with vision positioning) ±1.5 m (with satellite positioning) Internal Storage: 49 GB Class: C0 (EU) Image Sensor: 1/2-inch CMOS Sensor Lens: FOV: 119.8° Format Equivalent: 16.5 mm Aperture: f/2.2 Focus: 0.7 m to ∞ ISO Range: Photo 100-3200 (Single Auto) 100-12800 (Burst Auto/Timed Auto) 100-12800 (Manual) Video 100-12800 (Auto) 100-12800 (Manual) Shutter Speed: Video: 1/8000-1/30 s Photo: 1/8000-1/10 s Max Image Size: 12 MP Photo 4000×3000 (4:3) 4000×2250 (16:9) Still Photography Modes: Single/Timed Shot Single Shot: 12 MP Timed Shot: 12 MP, 2/3/5/7/10/15/20/30/60 s Photo Format: JPEG Video Resolution: Horizontal Shooting: 4K (4:3*): 3840×2880@60/50/30fps 1080p (4:3*): 1440×1080@60/50/30fps 4K (16:9): 3840×2160@100**/60/50/30fps 1080p (16:9): 1920×1080@100**/60/50/30fps Vertical Shooting: 2.7K (9:16): 1512×2688@60/50/30fps Video features: MP4 Bitrate: 80 Mbps File System: exFAT Color Mode: Normal EIS: Supports RockSteady and turning stabilization off Gimbal: Stabilization: 2-axis mechanical gimbal (tilt, roll) Mechanical Range: Tilt: -125° to 105°, Roll: -43° to 43° Controllable Range: Tilt: -90° to 70° Max Control Speed (tilt): 100°/s Angular Vibration Range: ±0.01° Image Roll Correction: Supports correction of footage recorded on the drone. WiFi: 802.11a/b/g/n/ac/ax Bluetooth: 5.2 Battery: Capacity: 1606 mAh Weight: 46 g Nominal Voltage: 7.16 V Max Charging Voltage: 8.6 V Battery Type: Li-ion Chemical System: LiNiMnCoO2 Energy: 11.5 Wh Charging Temperature: 5° to 40° C (41° to 104° F) Charge time: When Using the Two-Way Charging Hub (65W): Approx. 68 mins to charge three batteries simultaneously from 0% to 100% When Directly Charging the Aircraft Body (15W): Approx. 70 minutes to charge from 0% to 100% (MSRP) Price: $349 As such, you have everything you need to get started right in the box, including the two extra batteries, and a spare set of propellers should things go amiss with the original set of blades on the drone. Oh, the humanity! What's in the box? DJI Neo 2 Aircraft x 1; DJI Neo 2 Intelligent Flight Battery x 3 DJI Neo 2 Two-Way Charging Hub x 1; DJI Neo 2 Spare Propellers (Pair) x 1 DJI Neo 2 Spare Propeller Screw x 4; Screwdriver x 1 DJI Neo 2 Propeller Guard (Pair) x 1; DJI Neo 2 Gimbal Protector x 1 USB-C to USB-C Data Cable x 1 Having never had the chance to mess around with a drone myself, a few more highlights for this drone are listed below: Lightweight & Portable Design - Weighing just 151g and C0 certified, this compact drone features full-coverage propeller guards for safer, worry-free transport and flight. Palm Takeoff & Landing, Gesture Control - Enjoy easy palm takeoff and landing, plus intuitive gesture controls for hands-free operation and seamless flying experiences. Smooth & Reliable Tracking - ActiveTrack keeps your subject in focus, while Apple Watch lets you view live feed, check flight status, or use voice control to adjust tracking. Easy Moment Capture With SelfieShot - Snap memorable moments easily with SelfieShot, allowing quick and convenient selfies anytime with just a simple tap. All-Around Safety & Flexible Flight - Fly confidently with omnidirectional obstacle sensing and enjoy versatile flight for safer, more dynamic aerial adventures. 4K High-Quality Imaging - Capture every moment in stunning detail with 4K resolution, delivering crisp, lifelike photos and videos every time. Good to know DJI also notes on the Amazon sales page that due to platform compatibility issues, the DJI Fly app has been removed from Google Play. Visit the official DJI website to download the user manual and the latest DJI Fly app for a better experience. Which means you will have to sideload it on your Android. Where to buy DJI Neo 2 Fly More Combo for $349 at Amazon US The above price has been communicated to me as a Prime Day exclusive. As an Amazon Associate we earn from qualifying purchases.
    • Upgrade for cheap to Windows 11 Pro or Home Edition digital license by Steven Parker Today's highlighted deal comes via our Apps + Software section of the Neowin Deals store, where you can save up to 94% off on a Microsoft Windows 11 Home, or Pro digital license. Upgrade your computing experience with Windows 11 Pro. This cutting-edge operating system boasts a sleek new design and advanced tools to help you work faster and smarter. From creative projects to gaming and beyond, Windows 11 delivers the power and flexibility you need to achieve your goals. With a focus on productivity, the new features are easy to learn and use, enhancing your workflow and efficiency. Whether you're a student, professional, gamer, or creative, Windows 11 Home has everything you need to take your productivity to the next level. New interface. easier on the eyes & easier to use Biometrics login*.Encrypted authentication & advanced antivirus defenses DirectX 12 Ultimate. Play the latest games with graphics that rival reality. DirectX 12 Ultimate comes ready to maximize your hardware* Screen space. Snap layouts, desktops & seamless redocking Widgets. Stay up-to-date with the content you love & the new you care about Microsoft Teams. Stay in touch with friends and family with Microsoft Teams, which can be seamlessly integrated into your taskbar** Wake & lock. Automatically wake up when you approach and lock when you leave Smart App Control. Provides a layer of security by only permitting apps with good reputations to be installed Windows Studio Effects. Designed with Background Blur, Eye Contact, Voice Focus, & Automatic Framing Touchscreen. For a true mouse-less or keyboard-less experience TPM 2.0. Helps prevent unwanted tampering Windows 11 Pro also includes a number of productivity-focused features, such as the ability to snap multiple windows together and create custom layouts, improved voice typing, and a new, more powerful search experience. Personal and professional users will enjoy a modern and secure computing experience, with improved performance and productivity features to help users get more done. Only on Windows 11 Pro If you require enterprise-oriented features for your daily professional tasks, then Windows 11 Pro is a better option. Set up with a local account (only when set up for work or school) Join Active Directory/Azure AD Hyper-V Windows Sandbox Microsoft Remote Desktop BitLocker device encryption Windows Information Protection Mobile device management (MDM) Group Policy Enterprise State Roaming with Azure Assigned Access Dynamic Provisioning Windows Update for Business Kiosk mode Maximum RAM: 2TB Maximum no. of CPUs: 2 Maximum no. of CPU cores: 128 Good to know This license is for Windows 11 only. It is NOT intended to be used for upgrading Microsoft Office (MSO) included in Parallels Pro. However, it will still work with Parallels Pro and allow you to run Windows applications including MSO, but it DOES NOT include an upgrade MSO itself. It is still compatible with Microsoft Office ONLY if you have a separate license for it. Length of access: lifetime Redemption deadline: redeem your code within 30 days of purchase Access options: desktop Max number of device(s): 1 Version: Windows 11 Pro Updates included Queries on legality of this deal, here A Windows 11 Pro retail license normally costs $199, with Windows 11 Home usually costing $139 but you can pick either one up for just $9.97 for a limited time. For a full description, specs, and license info, click the link below. Get Windows 11 Pro for just $9.97 (was $199) Get Windows 11 Home for just $9.97 (was $139) Although priced in U.S. dollars, this deal is available for digital purchase worldwide. Support queries If you have queries or need support for any of the Neowin Deals, please use the contact form here. Neowin Deals are managed and sold by StackCommerce who represent Neowin on an affiliate basis. Why we post these deals We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. So for those that keep moaning and complaining, be thankful we're still online for you to even do that. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • Why say “Retarded” then? Lol 
  • Recent Achievements

    • Dedicated
      tuben earned a badge
      Dedicated
    • Week One Done
      mnsgroup earned a badge
      Week One Done
    • Conversation Starter
      sumytbe earned a badge
      Conversation Starter
    • One Year In
      B4dM1k3 earned a badge
      One Year In
    • One Year In
      DarkWun earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      519
    2. 2
      +Edouard
      205
    3. 3
      PsYcHoKiLLa
      97
    4. 4
      Michael Scrip
      82
    5. 5
      Steven P.
      68
  • Tell a friend

    Love Neowin? Tell a friend!