Releases: SnatMTE/code-examples
Release list
v0.04-security
This release hardens the forum application against common web risks: CSRF, XSS, session hijacking, unsafe DB access, and insecure password reset flows. It centralises security logic, improves database handling, and adds safer defaults; no breaking API changes, but follow the migration and test checklist below before deploying.
If, for some reason, you need to upgrade from v0.3, run this wherever you run your SQL queries.
ALTER TABLE users
ADD COLUMN reset_token VARCHAR(255) DEFAULT NULL,
ADD COLUMN reset_expires DATETIME DEFAULT NULL;
Full Changelog: v0.03...v0.04-security
v0.03
v0.02
v0.01
There will be no updates for this so please feel free to do with it as you wish. This was done while bored just so I can say to myself I have made a forum. There are no real security checks or no real features that make it useful for a forum.