4 ms·
I'm no Rails expert, but I tend to like the OpenBSD philosophy: if you ship with default options that are known to be insecure, you have a security bug. I know
by toyg 15y ago
I'm no Rails expert, but I tend to like the OpenBSD philosophy: if you ship with default options that are known to be insecure, you have a security bug.
I know security is always a trade-off, but when your largest and most famous testimonials, with all their mad skillz and street cred, still manage to get it so spectacularly wrong, it's clear that the core engine is as guilty as any other component.
- marshray 15y agoI like the part where the Rails developer says: The user has a flag to secure by default, I personally think that is enough. https://github.com/rails/rails/issues/5228#issuecomment-4300062 https://github.com/rails/rails/issues/5228#issuecomment-4300... In other words, Rails actually does have a flag to make the mass assignment feature secure by default. But this flag defaults to 'false'. https://github.com/rails/rails/pull/4062/files#diff-1 https://github.com/rails/rails/pull/4062/files#diff-1