The five people detained after last week's massacre in Nice are due to appear before a judge Thursday, as France is set to pass a law extending the state of emergency.

The five include four men and one woman aged between 22 and 40, with links to Tunisian Mohamed Lahouaiej Bouhlel, who ploughed a truck into the crowded promenade in Nice. Bouhlel had known one of the 40-years-old men for a long time, and another 38-year-old Albanian, along with his girlfriend are suspected of providing the attacker with an automatic pistol.

Source: b'Security scrambles on the streets after the truck attack in Nice | Source: AFP'

A 22-year-old man who received an SMS from Bouhlel shortly before he began his rampage will also appear in court, as well as another man who had been in contact with Bouhlel over weapons.

Like Bouhlel, none of those detained were known to French intelligence prior to the attack.

The government is scrambling to reassure a jittery population after the country's third major attack in 18 months killed 84 people out celebrating Bastille Day.

France's National Assembly and Senate are also set to pass a bill extending the state of emergency -- which gives police extra powers to carry out searches and place people under house arrest -- for six months.

It is the fourth time the security measures have been extended since Islamic State jihadists struck Paris in November, killing 130 people at restaurants, a concert hall and the national stadium.

On Wednesday, MPs also voted to allow authorities to search luggage and vehicles without prior approval from a prosecutor and to allow the police to seize data from computers and mobile phones.

The legislation also makes it easier for authorities to shut down places of worship where calls for violence and hate are made.

Source: b'People gathered to pay tribute to the victims | Source: Reuters'

The Islamic State group has said the Tunisian driver was one of its "soldiers" but investigators say that while he showed a recent interest in jihadist activity, there was no evidence he acted on behalf of the extremist group.

The group, on Wednesday,  posted a video apparently shot in Iraq, where IS holds swaths of territory, showing two French-speaking jihadists threatening more attacks against France.

French Prime Minister Manuel Valls had warned earlier in the week that the country will face more attacks as its struggles to handle extremists returning from jihad in the Middle East and those radicalised at home by devouring propaganda on the internet.

The Nice attack has also brought out glaring follies in France's security, and has also started a political blame game in the country, with none of the older solidarity among parties that had prevailed post the Charlie Hebdo attack. 

(Feature Image Source: Reuters)