Reputation: 1387
I have been using Java for about a year now, and am interested in starting networking basics. Anyway, can a web filter be created in Java, something that say, searches an incoming web page for certain keywords? This way you could filter out profanity and malware.
If So, what are the basics of such an application? (this is on a client, not server)
Upvotes: 0
Views: 246
Reputation: 142
One way to go about this would be to write a Java proxy server, and then direct the browser in question to the server and then once you have the connections going through the proxy you can inspect content.
https://stackoverflow.com/questions/860362/write-http-proxy-in-java
^ this StackOverFlow article gives some good links to articles addressing how you might do this. I hope this helps in some way, i am afraid your question is a little on the vague side.
Good Luck.
Upvotes: 1