Fohn-Group / fohn-ui

PHP framework using Tailwind Css
MIT License
2 stars 2 forks source link

Add Session management and CSRF attack protection #12

Closed ibelar closed 1 year ago

ibelar commented 1 year ago

Add csfr protection to callback.

Add it from your page:

$page->csfrProtect('my secret phrase', '/');

Then, each callback that implement GuardInterface will be protect from csfr attack when fire from this $page.

Sanitize input by default

Form inputs are sanitized by default.

Required fohn-ui.js version 1.3 and higher