Skip to main content

Blocking Website without using any software


"The Hosts file contains the mappings of IP addresses to host names. This file is loaded into memory (cache) at startup, then Windows checks the Hosts file before it queries any DNS servers, which enables it to override addresses in the DNS. This prevents access to the listed sites by redirecting any connection attempts back to the local (your) machine. Another feature of the HOSTS file is its ability to block other applications from connecting to the Internet, providing the entry exists." - source

"There are several ways for blocking access to websites, such as installing a Parental Control software or using the built-in Windows 7 Parental Controls, or a Firefox plug-in. Another method for blocking websites is to edit the hosts file on your system, and add all the unwanted websites. The hosts file is a system file that is used to map hostnames to IP addresses, without any DNS resolution." - source

Anda boleh gunakan hosts file ini untuk menghalang ads, banners, cookies, counters, web bugs, porno site, facebook (jangan bagi anak2 main), ataupun daripada hijackes.

# Block Facebook
127.0.0.1 www.facebook.com
127.0.0.1 facebook.com
127.0.0.1 static.ak.fbcdn.net
127.0.0.1 www.static.ak.fbcdn.net
127.0.0.1 login.facebook.com
127.0.0.1 www.login.facebook.com
127.0.0.1 fbcdn.net
127.0.0.1 www.fbcdn.net
127.0.0.1 fbcdn.com
127.0.0.1 www.fbcdn.com
127.0.0.1 static.ak.connect.facebook.com
127.0.0.1 www.static.ak.connect.facebook.com

Tapi bila anda nak berfacebook disable kan la...tambah # untuk setiap line. Dan tambahkan 2 line dibawah, bila mak bapak pakai, nak laju kan.... TAPI ini bukan penyelesaian mutlak! Bukan untuk mengoda, cuma nak faham hosts file tu berfungsi macam mane. Tapi kalau host file tu besar, 200K ke atas, maka, banyak RAM pakai, nak berat la mesin anda (Laptop/PC).

203.106.85.66 www.facebook.com
203.106.85.66 facebook.com

Rujuk sini boleh juga.

Dan sekarang ni dah nampak bebas dari adds yang macam best je... ada gambar rimau la, handphone la... sudah la... dok ada masa nak layan binatang tu... dan lain kali ada site yang aku dok kenan, aku edit hosts file dan update ke dalam folder C:\WINDOWS\SYSTEM32\DRIVERS\ETC.


Read more :

1. http://www.mvps.org/winhelp2002/hosts.htm

2. http://helpdeskgeek.com/how-to/block-websites-using-hosts-file/

3. http://cariblogger.com/how-to-block-facebook-using-hosts-file

Comments

Popular posts from this blog

Program Akademik Baharu Ijazah Sarjana Muda Teknologi Kejuruteraan di UTeM

Image di atas sengaja di biarkan melebar sebab keasliannya dari link asal. Untuk maklumat lebih lanjut, klik link di bawah. http://www.utem.edu.my/ftk/ Bil / Nama Program / Kod UPU Ijazah Sarjana Muda Teknologi Kejuruteraan Elektrik (Kuasa Industri) dengan Kepujian CY31 Ijazah Sarjana Muda Teknologi Kejuruteraan Elektrik (Automasi Industri & Robotik) dengan Kepujian CY32 Ijazah Sarjana Muda Teknologi Kejuruteraan Elektronik (Telekomunikasi) dengan Kepujian CY41 Ijazah Sarjana Muda Teknologi Kejuruteraan Elektronik (Elektronik Industri) dengan Kepujian CY42 Ijazah Sarjana Muda Teknologi Kejuruteraan Komputer (Sistem Komputer) dengan Kepujian CY81 Ijazah Sarjana Muda Teknologi Kejuruteraan Mekanikal (Teknologi Automotif) dengan Kepujian CY51 Ijazah Sarjana Muda Teknologi Kejuruteraan Mekanikal (Sistem Penyejukan dan Penyaman Udara) dengan Kepujian CY52 Ijazah Sarjana Muda Teknologi Kejuruteraan Mekanikal (Teknologi Penyelenggaraan) dengan Kepujian CY53 Ijazah Sarjana Muda Teknologi K...

5x7matrix of LED's, PIC and Proteus Simulation

Simulation 5x7 Matrix LED with continuous three modes of display. The Circuit Display ABCDEFGHI in three different modes 1. Blinking, then 2. Moving from Left, and 3. Moving from Right Documentation and Software Here. Youtube video Simulation in Proteus 7.4 Portable (SnagIt 5.0 version.... to old laaa.... first time created with any movie editing. The output file from SnagIt is AVI, then convert to WMV format to upload into the Youtube...more light.. successes... but no sound). My Windows Movie Maker in Vista always execute problem.) 2 Jenis 5x7 matrix LED Common Cathode(ROW) - Left Common Anod (ROW) - Right Rujukan.

Rujukan Perakuan Akreditasi Sementara daripada Agensi Kelayakan Malaysia (MQA) bagi SEMUA kursus di FTK, UTeM

MQA_News Semua Program Pengajian di Fakulti Teknologi Kejuruteraan (FTK), Universiti Teknikal Malaysia Melaka (UTeM) telah diberi Perakuan Akreditasi Sementara daripada Agensi Kelayakan Malaysia ( Malaysian Qualifications Agency , MQA) . Senarai program tersebut adalah seperti di bawah. Bil & UPU Code Program Tempoh 01 CY31 Ijazah Sarjana Muda Teknologi Kejuruteraan Elektrik (Kuasa Industri) dengan Kepujian Surat Perakuan : (MQA/PA 0695)  18/06/2012 – 31/05/2015 02 CY32 Ijazah Sarjana Muda Teknologi Kejuruteraan Elektrik (Automasi Industri & Robotik) dengan Kepujian Surat Perakuan : (MQA/PA 0696)  18/06/2012 – 31/05/2015 03 CY41 Ijazah Sarjana Muda Teknologi Kejuruteraan Elektronik (Telekomunikasi) dengan Kepujian Surat Perakuan : (MQA/PA 0697)  18/06/2012 – 31/05/2015 04 CY42 ...