This application provides a
device fingerprint update method, apparatus, electronic device, and storage medium. It includes: generating first
device fingerprint information based on first
user agent information when a user logs into an email account; determining whether the first
device fingerprint information is in a device
fingerprint database; if the first device
fingerprint information is not in the
database, performing a recall operation of the device
fingerprint database, the recall operation including: determining whether the first device fingerprint information meets device fingerprint update conditions based on the
user agent information and the first
user agent information; if the first device fingerprint information meets the device fingerprint update conditions, updating the stored second device fingerprint information to the first device fingerprint information, enabling the user to log into the email account, and verifying the user's device fingerprint information upon the next login using the updated device
fingerprint database. This application can improve
email security and reduce the erroneous blocking of legitimate users.