The federal privacy watchdog says Canada's border agency violated the law by carrying out overly invasive searches of personal digital devices, in one case viewing a traveller's social media and online banking information.

Privacy commissioner Daniel Therrien looked into complaints against the Canada Border Services Agency concerning the examination of devices, namely cell phones, tablets and laptop computers, at ports of entry.

He finds the border agency contravened federal law and notes significant shortcomings in the agency's overall practices related to digital devices.

Therrien is calling for reform of the legal framework governing searches of devices at the border. The border agency has agreed to make several policy changes to better respect privacy.

Enter your number to get our free mobile app