Regulating online safety for children