by softwarelimits · 7y ago · 0 comments
Many eyes on security relevant code is one of the most important reasons for using open source frameworks for web development - so it is very unfortunate if exactly this part is missing, it will always look incomplete.
Of course this leaves room for professional services, I understand that, but I believe the damage done is greater than the opportunities generated. The current situation for "Phoenix auth libraries" is horrible - as a developer you will
* waste a lot of time researching and testing all the available solutions
* or just take one "random solution from the internet" that "looks good enough"
* or you will just implement another solution yourself.
Instead you want to build on the solution that is provided and maintained by the core framework community.This is such a sad story. Elixir / Phoenix looks so nice, but without a strong security foundation it looks incomplete. Authorization and Authentication is not even mentioned in the docs - that is absurd!
I simply can not understand why the project leaders are ignoring this important area.
https://lobotuerto.com/blog/building-a-json-api-in-elixir-wi...
I think the main reason it's not in the docs it's because in the end it's just an implementation detail. Have a look at how simple it is to protect some routes that needs the user to be logged in.
https://latacora.micro.blog/2018/06/12/a-childs-garden.html
https://latacora.micro.blog/2018/04/03/cryptographic-right-a...