People's online behavior has changed in response to legislation to prevent children from viewing harmful content—raising possible privacy and security risks, research suggests.