The European Commission has said that countries must act together to ensure that information and networks are safe for users.