The government is planning a new law to make sure all smart devices meet new requirements to help protect people from cyber attacks. The plans include a ban on using universal default passwords and ensuring customers are aware when buying a device how long it will received security software updates for.