"We will not be intimidated. Canada will never be intimidated," Harper said in a brief address to the nation after an attack on the Parliament Hill.
"In fact, this will lead us to strengthen our resolve and redouble our efforts - and those of our national security agencies - to take all necessary steps to identify and counter threats and keep Canada safe here at home," the Toronto Star quoted him as saying.
Parliament Hill came under attack yesterday when a gunman shot and killed a soldier standing guard at the nearby National War Memorial here, before seizing a car and driving to the doors of building's Centre Block.
Heavily armed officers backed by armored vehicles sealed off the Parliament building.
Also Read
Harper condemned the second "brutal and violent" attack this week, particularly the "cold-blooded murder" of the soldier. He said the incidents were direct attacks on Canadian democracy, values and society.
"Attacks on our security personnel and on our institutions of government are by their very nature attacks on our country, on our values, on our society and on us Canadians," he said.
Ottawa police confirmed shots were fired in three locations: the war memorial, inside Centre Block of the Parliament and at the Rideau Centre.
The motive of the attack was not known but it came two days after a recent convert to Islam killed one Canadian soldier and injured another in a hit-and-run before being shot to death by police.