3 ms·
One of the simplest and most fundamental rules of effective security is to close everything down by default and only open things up as required, after careful c
by grey-area 14y ago
One of the simplest and most fundamental rules of effective security is to close everything down by default and only open things up as required, after careful consideration. Scaffolding breaks that rule.
This is really an argument for building authentication and authorization into every app, rather than against scaffolding/ORMs.
As rails doesn't have auth (of both kinds) built in, it doesn't really matter if they offer scaffolding or not - any editing url you make is going to be completely without protection unless you add it. The only thing you'd be adding by not having guessable urls without authentication/authorization is security through obscurity.
So IMHO the lack of auth is really the issue here (and the thing that breaks the rule in your final sentence), rather than the guessable urls.