Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 21st, 2006, 2:22 PM   #1
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 298
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
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.
bigguy is offline   Reply With Quote
Old Apr 21st, 2006, 2:36 PM   #2
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
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
Booooze is offline   Reply With Quote
Old Apr 21st, 2006, 3:36 PM   #3
big_k105
PFO Founder

 
big_k105's Avatar
 
Join Date: Mar 2004
Location: Fargo, ND
Posts: 1,667
Rep Power: 10 big_k105 is on a distinguished road
Send a message via AIM to big_k105 Send a message via MSN to big_k105 Send a message via Yahoo to big_k105
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.
big_k105 is online now   Reply With Quote
Old Apr 21st, 2006, 4:37 PM   #4
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
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.
coldDeath is offline   Reply With Quote
Old Apr 21st, 2006, 5:10 PM   #5
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
Quote:
Originally Posted by bigguy
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
Simple fix to see all the blocked sites that you want. Simple type:

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!
Pizentios is offline   Reply With Quote
Old Apr 22nd, 2006, 12:58 PM   #6
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
I got an even better idea. Install Tor on your computers or your gateway, and then set up your Internet browser or gateway to use it.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:58 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC