Answer» hi!..ahm how do i block a WEBSITE ex. a youporn etc..a website that a malicious.. without using a software..i have an idea in regedit but i dont know what key or command?!..plz..help..TRY using your HOSTS file. To find it, go to C:\WINDOWS\system32\drivers\etc and it will be in there. Open up a blank notepad document and drag the HOSTS file onto the notepad window. Scroll the window to the bottom and add these lines: Code: [Select]#The line below blocks youporn.com 127.0.0.1 youporn.com and if you want to add more, just put:
127.0.0.1 SITEYOUWANTBLOCKED.COM
at the bottom.and then what should i do with the notepad? save it?where?aight buddy you can find the EXACT file under:C:\WINDOWS\system32\drivers\etc\hosts if thats easier (just go start//then run and type it in)
open that file with either notepad
and like the poster said type "127.0.0.1 www.youporn.com"
at the bottom of the document. Then click file and click save.
If you are running Vista/7 you have to do things differently.
You will need to start notepad as ADMINISTRATOR- either rightclick the program icon i the accessories group, or you can start typing notepad in teh search box and right-click the item that appears as a RESULT. either way, you select "Run as Administrator". Ones it starts, choose file->Open, and paste %systemroot%\system32\drivers\etc\hosts to open the file.
NOW you can perform the changes and still be ABLE to save it. (your original response to helpmeh's suggestion itself suggests that you had issues saving the hosts file, which will happen if you don't run notepad as an administrator in Vista/7)
|