The warning comes ahead of the anniversary of an anti-Japanese protest on May 4, 1919, which is symbolic of resistance to foreign domination.
A spokesman for China's Ministry of Public Security asked the public not to attend unauthorized marches and protests or spread messages that instigate such events, said Xinhua.
"The ministry fully understands the patriotic sentiments of the masses of people, including students, that participated in the recent spontaneous protest demonstrations in Beijing and Shanghai over Japan's offensive attitude toward its own aggressive history and behavior that has hurt the feelings of the Chinese people," he said.
"We hope Japan will seriously respond to the concern of the Chinese people, properly handle relevant issues and stop doing things hurting the feelings of the Chinese people," he said.
The public security departments and other relevant units have done a great deal to maintain social
"But a very few idlers, including some vandals, took the chance to destroy public and private property and disrupt social order. Such acts have impaired China's image and violated the law," he said.
In accordance with Chinese laws and rules on holding parades and marches, all demonstrations have to be approved by the public security departments before they are held.
"Marches held without approval from public security departments, including those held not in compliance with the approved plans, and acts in marches that disrupt public security or seriously sabotage social order all constitute violations of the law," he said.
It is also illegal to sponsor marches and protests through spreading messages from the Internet and short message service ( SMS) of mobile phones without approval of the public security departments, the spokesman said, adding that public security departments would 'mete out tough blows at people who conduct vandalism in marches,' Xinhua said.