bcosca / fatfree

A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications - fast!
2.66k stars 446 forks source link

Authentication and authorization #1137

Closed archistico closed 5 years ago

archistico commented 5 years ago

Do you have a complete example of authentication and authorization with f3? Not http, but add user on the database etc. Thank you

pauljherring commented 5 years ago

There won't be, because there's so many ways of doing (bits and pieces of) it.

I suggest - perhaps - you read up on user management in general for PHP and adapt that to F3. Areas you'll (probably) need to deal with, or at least look into, off the top of my head:

archistico commented 5 years ago

Thank you, I love your f3 but I move my project to Symfony Only "storing passwords securely", XSS, "preventing hack ", CRSF etc. is not a simply task I think it could be useful for many a starting point