Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
For example, if you add "cigarette" to the list of keywords, a Web site address with the word “cigarette” is blocked.
Posted
Updated 27-Feb-15 18:20pm
v2
Comments
Sergey Alexandrovich Kryukov 28-Feb-15 0:38am    
Oh gosh! Do you think blocking the word "cigarette" can help people quite smoking or protect children from smoking? It can only boost interest to those bad things. (Firewall... oh...) And the question makes little sense technically.
—SA
Brinda Lakhani 28-Feb-15 1:03am    
Its just an example. Please read my question again.
Gonzoox 5-Mar-15 13:26pm    
I can't think of a simple way, unless you create a key logger and no one here will help you with that.
You will have to work with each browser and make calls to their API's and/or COM+ exposed methods and take it from there, every time an URL is passed and the browser is starting the navigation, hijack that process, stop it, parse the URL, validate it, then depending on the result of your validation restart the navigation or redirect to an error page.

Good Luck

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900