2 ms·
>Isn't a security one of the gains of using frameworks, That depends on the scale of what you're building. Generally I would agree with you, but if you buildin
by mrweasel 10y ago
>Isn't a security one of the gains of using frameworks,
That depends on the scale of what you're building. Generally I would agree with you, but if you building some small, something that would only ever use a small subsection of whatever framework you pick, then you could end up having more issues than if you didn't use a framework.
Just because you aren't using parts of a framework, doesn't mean that security issues in the framework won't affect you.
Let's say your application only ever needs to do one or two queries to a database. It's going to be a whole lot easier for you to lock those two queries down, than securing an entire ORM.
- Nullabillity 10y ago> It's going to be a whole lot easier for you to lock those two queries down, than securing an entire ORM. If it's a competent ORM then it shouldn't even expose any way to not use prepared statements, for example.