Hacker News new | past | comments | ask | show | jobs | submit login

> in an unopinionated way IMHO (without prescribing the DB schema, etc)

I'm actually suggesting the most opinionated thing imaginable. Definitely it would need its own schema, database (logical database; you could still put it in the same SQL server instance).

I've implemented this before, it works fine. Basically imagine that your app can only talk to some login system through a command-line tool, and the command like tool deals with the database. You have absolutely no control over the login code or database. You can just run commands and give arguments and get something back. Again, programmers hate it, but it works great and is secure by default.




So how do developers e.g. add a new field to the User schema if needed for the business? Or customize the login page? Or ...

Now you have a CMS like Wordpress, no longer a library or even framework, which has so many moving parts that is def not "secure by default".




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: