| |
![]() |
| ||||||||||||||||
![]() |
| | LinkBack | Thread Tools |
| | #2 (permalink) |
| Cannot live without Love ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I guess there are a lot of apps that can do something as that. But I've thought about a method that doesn't involve installing software. Requeriments are: - Your account is an administrator one (or you can access to one). - The "other people" don't know a damn thing about Windows and networking (I guess you're using Windows). And it's recommended that their accounts are "normal" ones (not admins). The main advantage: it will work not only with Firefox, but with any other browser; actually, any other program (including download managers, E-mail clients, etc). Let's block www.youtube.com, for example: 1. Open a "My Computer" Explorer window and browse to C:\Windows\system32\drivers\etc\ 2. Make a copy of the "hosts" file (in the same folder) and call it "originalhosts". These files don't need extension. 3. Run Notepad and type (or copy & paste) something like: Code: 127.0.0.1 localhost 127.0.0.1 www.youtube.com 127.0.0.1 www.google.com 127.0.0.1 www.msn.com 127.0.0.1 forums.fanhost.com #(nooooo!!!!) 4. Save this file in the same folder, with the name "blockhosts". Now we have the original hosts file, and a modified one that will block any attempt to load YouTube. The only thing we need is an easy way to change between both of them. 5. Open Notepad again and type the following: Code: copy /y %SystemRoot%\system32\drivers\etc\originalhosts %SystemRoot%\system32\drivers\etc\hosts 7. Again, Notepad: Code: copy /y %SystemRoot%\system32\drivers\etc\blockhosts %SystemRoot%\system32\drivers\etc\hosts 9. Now you just have to doubleclick "permit.cmd" to allow any site, like normally; and doubleclick "block.cmd" to block YouTube. 10. Now it's up to you to "hide" those two files (block.cmd and permit.cmd) or call them what you want (like green.cmd/red.cmd or celtics.cmd/bulls.cmd... whatever) to avoid "the other people" finding them. Anyway, if "the other people" are not administrators, they can't do anything even if they execute them. It's a good idea to make those two CMD files only readable by administrators. Ways to circumvent this? A lot of them: - If they know how to use a public proxy, they could load YouTube. Of course, you can also block proxies, but that's a little... laborious. - If they know the "nslookup" command, or any nslookup webservice, they could circumvent this, just by entering YouTube using its IP (208.65.153.238 is one). Anyway, there are many sites that doesn't allow this method. YouTube does, by the way. I hope this is useful. |
| | |
| | #5 (permalink) | |
| Ghost in the Machine ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Quote:
![]() | |
| | |
![]() |
« Previous Thread
|
Next Thread »
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
All times are GMT -4. The time now is 08:34 AM.









