| ▲ | Authorize, don't authenticate(blog.marcua.net) | |||||||||||||
| 47 points by marcua 10 hours ago | 11 comments | ||||||||||||||
| ▲ | smallerfish 37 minutes ago | parent | next [-] | |||||||||||||
I've been hacking on my own task manager on-and-off for years (https://the.do.zone). It has no database; the primary store is the browser, and you can optionally sync to local file system (if using chrome), dropbox, or google drive (less optimal for my needs, because their js oauth implementation is very conservative about token length.) It has some crude but functional diff resolution, so that you can sync across multiple machines. Browsers _could_ provide better tooling to make this kind of app architecture more convenient to write; and theoretically you could imagine cloud providers providing some kind of standard for datastores. But there's no market for it; non techies really don't care about the location of their data to any great extent. | ||||||||||||||
| ▲ | sandeepkd 2 hours ago | parent | prev | next [-] | |||||||||||||
Got drawn to the topic, however usage of authentication and authorization seem like misnomer here, the core topic seems to be data ownership The concept on a surface level to have ownership over the data makes a lot of sense and to a large part the support exists in a fragmented manner across the different providers/applications. The concrete idea of user having a database and then authorizing that to the service is highly impractical. It might be applied for experimentation purposes in highly controlled environment but cant scale beyond that. 1. Databases require maintenance, backups, failover 2. Schema update are nightmares. No one is ever comfortable with it, specially the bigger you are. 3. Authorization seems to be following one to many pattern here, one database and multiple applications. Its a no go in case of update operations | ||||||||||||||
| ||||||||||||||
| ▲ | ebiester 3 hours ago | parent | prev | next [-] | |||||||||||||
1. How do you get around performance issues? If I have a difficult join and you have a slow database, or you have a flaky connection, how can I debug the problem on my end? 2. What stops me (or any attacker) from exploiting your lack of security? Are you 100% sure you are secure? 3. You mention collaboration - How does this work at a company level if we have many users and need to control access - the company is the entity with rights to the data in this case. | ||||||||||||||
| ▲ | _def 3 hours ago | parent | prev | next [-] | |||||||||||||
We are back to File->Open I guess. We could use native applications instead of web apps while we're at it. Sadly this approach does not work for a lot of (web) apps. | ||||||||||||||
| ||||||||||||||
| ▲ | pakl 3 hours ago | parent | prev | next [-] | |||||||||||||
So many tools and libraries combine authorization and authentication, and it’s hard to find an authorization server that lets you outsource identity. (All too often the underspecified abbreviation “auth” is used to cover both.) Shameless plug: My colleagues and I implemented a minimal authorization server that lets you leverage a trusted identity provider of your choice (like Entra ID or even Auth0/Okta) and handle authorization. It looks up what roles and permissions the identified user should be able to have/grant and issues tokens containing that authorization. | ||||||||||||||
| ||||||||||||||
| ▲ | ashleyn 40 minutes ago | parent | prev | next [-] | |||||||||||||
Isn't this the core idea behind atproto? | ||||||||||||||
| ▲ | warkdarrior 3 hours ago | parent | prev [-] | |||||||||||||
Not sure this does anything for data portability, since apps will just store the data as encrypted & signed BLOBs. | ||||||||||||||