SafePHP
Table of Contents
Classes
- AccessHandler
- Manage access of user for ressources
- AntiCommands
- Avoid command injection
- Auth
- Manage authentification safely
- CSRF
- Manage CSRF protection
- Database
- Interaction in SQL with safe statements
- ErrorHandler
- Manage http/https responses
- Exceptions
- Local Exceptions handler class
- FileInclusion
- Verification of each file included on server, database, or form
- Form
- Generate form with safe statements (Sanitize, Verify, CSRF)
- Header
- Send header when some already sent
- Logs
- Create, generate, and save logs
- Mail
- Send mail with SMTP server
- Network
- Network management with white, grey, black lists getters/setters and IP getters
- RBAC
- Role-Based Access Control system
- Router
- Router management with list of ressources authorized (avoid file inclusion or code inclusion)
- Sanitize
- Sanitize value on input (safe method)
- Secret
- Manage environnement variables and other secret keys
- Session
- Manage user session with encryption, access verification, headers and lifetime session
- SRI
- Ensure Sub-Ressource Integrity
- Verify
- Verification of file uploaded (Type|MIME) and extensions