Hong Kong's Court of Appeal on Wednesday granted the government's application to ban a protest anthem called "Glory to Hong Kong," overturning a lower court judgment that had rejected such a ban because of its possible "chilling effects" on free speech.

The ruling comes amid what critics say is an erosion in Hong Kong's rule of law and individual rights amid Beijing's security crackdown that has seen scores of opposition democrats jailed and shut down liberal media outlets.

The case has implications for internet freedoms and the operations of firms that include internet platform operators (IPOs) and technology firms such as Google.