We needed a method of securely transmitting passwords to clients via email that would expire after a predetermined time. I incorporated elements from gobbl.us to use the base TinyURL functionality, then expanded upon that.
What I Did
- Set up a database for storing passwords, IP addresses, etc
- Modified code from gobbl.us for the TinyURL functionality part
- Set hard limits (minimum 1 hour, maximum 7 days) for expiration
- Prevented editing or viewing of older generated codes