Because security is such a crucial concern with any web application, this document will step you through how authentication works in Bonfire, to make it easy for to determine if it meets the security needs of your application. While the security provided should be adequate for most applications, some may require additional security to meet their unique requirements. If you find a need for additional security (or just find a flaw in the current authentication) please let us know. If you improve the security of the code, please send us a pull request on Github.
| Understanding Authentication | Because security is such a crucial concern with any web application, this document will step you through how authentication works in Bonfire, to make it easy for to determine if it meets the security needs of your application. |
| Password Security | |
| Forgotten Passwords | Forgotten passwords are never emailed to the user so they cannot be intercepted. |
| Autologin | Whenever the Auth library is first loaded, it will run the autologin() method to see if the user has been remembered on the site. |
Forgotten passwords are never emailed to the user so they cannot be intercepted. Instead, a link to /reset password that contains the user’s email and a 40 character long hash that is used to verify the user’s identity is emailed to the user. Once on that page, they can choose a new password, assuming that the hash is verified. The hash is only valid for 24 hours.
Whenever the Auth library is first loaded, it will run the autologin() method to see if the user has been remembered on the site.
Autologin uses the best practice as set out in http://fishbowl.pastiche.org
This document is still under construction.