A country has the right to prevent the world’s Internet users from accessing information, Canada’s highest court ruled on Wednesday.