![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Professional Programmer
|
Check Website's content and Block it
Hey yall, my school has a blocker that the state runs. My teacher said that if the school had it's own blocker the state might turn it off. So I'm gonan try to make one so the state will stop monitoring us and we can unblock some of the sites that we need. So here if my question(s)
1. How could I check to see if the website being visited has offensive material in it? 2. Should I make this client/server app or just run the program on the client? Thats it for now, but I'm sure I'll have some more. lol Thanks yall
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain Destruction leads to a very rough road, but it also breeds creation. |
|
|
|
|
|
#2 |
|
Expert Programmer
|
I don't think its that easy dude. Doesn't it all come from a third party program/company? Trying to filter out what is good and bad based on source code (or address) isn't going to give you proper results. But, I could be mistaken. I think this is all going to have to go through some type of gateway to work decently. Not much else I can say. But, good luck
![]() |
|
|
|
|
|
#3 |
|
PFO Founder
![]() ![]() |
I think for the most part most of the blockers use a blacklist that is always being updated. which is probably the easiest way to go about it. My idea would be to setup a proxy server and then have the firewall automaticly send all web traffic through the proxy and then use a blacklist and a redirector plugin you can get for squid and have it redirect all inappropriate sites back to the schools website or maybe to google or something.
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
|
|
#4 |
|
Expert Programmer
|
A thing that I know my schools blocker does is it scans a page for inappropriate material, eg. porn
This could be quite easy, just search through the source file and see if any of the words are in "badwords.txt".
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#5 | |
|
Programming Guru
![]() ![]() |
Quote:
http://www.google.com/translate?langpair=en|en&u=www.forbiddensite.com into your address bar, replacing www.forbiddensite.com with the site that you want to go to. The only way that the content blocker would block the site is if looks at the address bar. It's like using google as a proxy.
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|