4 ms·
> How is using Postgres DB users as website users working for you? Fricken awesome. Very easy to sleep at night. We can do a complete security audit in fifteen
by justintocci 11y ago
> How is using Postgres DB users as website users working for you?
Fricken awesome. Very easy to sleep at night. We can do a complete security audit in fifteen minutes.
> Is having thousands or millions of users practical, or is this intended more for a limited-use in house application?
Envelope is a very small C binary. You'll find it scales way better than PostgreSQL itself and as such you should be able to apply similar strategies. You'll find your database design is way more important than the Envelope overhead. If you were going to open a site to millions of users I would consider pooling users into groups so you could pool PostgreSQL connections. Again, the bottleneck isn't Envelope, but PostgreSQL.
> Is it practical to allow new users to register on the site and have a site admin manage their roles and permissions through a web interface, or do DBAs need to manage that stuff manually in psql?
We don't use psql. Envelope includes Postage, a sort of web based PGAdmin. Developers can use that to administrate the database. We've also written a 'User Admin' app for non-developers that we've installed into some of our client Envelope instances. This allows the customer to administrate their own users.
> ...management wanted to try and authorize access to the webapp through access permissions to the backend MSSQL database, with the Windows Domain user getting picked up automatically through IE...we were never able to get it all the way working.
Sorry to hear that. Our app was originally written in just a couple of hours but I didn't even know you could get the Domain User in IE. I'll have to try that.
- acmecorps 11y agoHey, do you have a link for postage?
- justintocci 11y agoOpen the live demo. There are two links. One for postage connecting to your development copy and the one connecting to the production database.