Default passwords such as "admin" and "password" will be illegal for electronics firms to use in California from 2020.
The state has passed a law that sets higher security standards for net-connected devices made or sold in the region.
It demands that each gadget be given a unique password when it is made.
Before now, easy-to-guess passwords have helped some cyber-attacks spread more quickly and cause more harm.
The Information Privacy: Connected Devices bill demands that electronics manufacturers equip their products with "reasonable" security features.
This can mean a unique password or a start-up procedure that forces users to generate their own code when using the gadget for the first time.
The bill also allows customers who suffer harm when a company ignores the law to sue for damages.
Writing on tech news site the Register Kieren McCarthy said the law was "a step forward" but also a "massive missed opportunity".
A bigger problem than poor passwords was the creation of devices that could not be updated, he said.
California should have added clauses that required manufacturers to take a more rounded approach, he said, to limit how much access malicious hackers can get to all kinds of devices.
Many recent cyber-attacks have taken advantage of the default and easy-to-guess passwords on the devices found in millions of homes and offices.
In late 2016, Twitter, Spotify, and Reddit were among sites taken offline by an attack that took advantage of poor passwords on lots of net-connected gadgets including webcams and other so-called smart home hardware.
An attack by malware known as VPNFilter is currently targeting home routers and is believed to have infected more than 500,000 devices.
Latest Stories
-
Charles Quao’s journey to the top: A Ghanaian entrepreneur reimagines African luxury
6 minutes -
MOTI to elebrate 2025 MSME Day with national event focused on digital empowerment and sustainability
11 minutes -
Galamsey’s silent scars deepen in Ghana amidst China’s blame on local collusion
17 minutes -
Okyeame Kwame hints at historic collaboration with government
21 minutes -
Cardoso proud of Sundowns despite Club World Cup exit
40 minutes -
Socaloca hosts workshop to empower football stakeholders with digital tools
45 minutes -
The identity crisis behind Ghana’s obsession with honorifics
56 minutes -
Andy Yiadom extends Reading FC stay until 2026 after injury comeback
1 hour -
Ntim Fordjour blames Mahama, NDC for ‘desecration’ of Independence Square by foreign gay couple
1 hour -
Suzzy Pinamang undergoes successful eye surgery in UK – Rafik Mahama says
1 hour -
UHAS project revives fight against neglected tropical diseases
1 hour -
You’re a ‘small boy’ in NPP; tone down your utterances – Former MP slams Nana B
1 hour -
If the people who voted for you say E-Levy won’t help, why force it? – Eugene Antwi on NPP’s 2024 defeat
2 hours -
Establish Sovereign Wealth Funds amid gold boom – Ofosu-Dorte advises gov’t
2 hours -
Barcelona eye Thomas Partey as key midfield reinforcement
2 hours