Although I agree with Justin Niessner that a proxy server is the way to go, but if you are the goal of protecting children from porn, I think that you would probably be better off using an existing product.
A lot of time and energy went into technical web filters. In addition to compiling a large database of banned sites, you will need to develop a heuristic to guess if the unknown site is safe, advanced filters also perform image analysis to determine if the image contains nudity. You also need to do a lot of testing to make sure that protection cannot be easily turned off or bypassed, as well as constant updates to work with new adult content sources.
If you do not have developers, or plan to work full time for several years, it will be difficult for you to find the level of protection against solutions on the shelf.
source share