A Firefox extension, the ProCon Latte Content Filter blocks (usually containing pornography) based on simple keyword lists. It supports password protection, and it can be configured to only allow whitelisted sites.