martinvanzijl / org-chart-maker

A web-based org. chart creation program.
MIT License
0 stars 0 forks source link

Make Email Script more Secure #66

Open martinvanzijl opened 8 months ago

martinvanzijl commented 8 months ago

Make the email script on Bluehost for sending "reset password" links more secure:

Avoid “replay attacks”: Add counter to payload, which must increase each time. Store the value on the email server.

Avoid “forgery attacks”: Use a simple algorithm to hash the fields in the payload and check them on the server.