Hacker Newsnew | past | comments | ask | show | jobs | submit | alephu5's commentslogin

I've been interested in this problem space for a couple of years, have tried a whole bunch of products but settled on using cedar policy engine[1] wrapped in some custom code and using the application database and static files to generate policies that can be concatenates to make decisions. A useful property is that they can be indexed based on the "subject verb object" triplet used to represent authorisation queries (e.g. Can "John" download "File 1"?)

Have tried a whole bunch of other FGA providers with their own storage and retrieval services, I think that fundamentally all the DSLs are just variants on prolog and can be quite easily transformed into one another. Another thing to consider is that authorisation is in the critical path of everything, so if you need to call out to an external service it's going to add latency and becomes a single point of failure. Not to mention that it creates an explosion of complexity by distributing the system more widely, so if you can leverage your existing database and file storage to manage policies it's probably easier to build and mange long-term.

Overall I think it's worthwhile using an FGA solution to separate authorisation from business logic, I expect this will become industry standard in the years to come.

[1] https://www.cedarpolicy.com/en


I imagine the people paying the most money have a high tolerance.


You'll also need to befriend some conservative politicians.


I pay $20 a year to develop private projects on source hut with CI and everything else included.


I don't understand the purpose of this comment. It strikes me as a nonsequitur. How does it conform to the logical throughline of the previous two comments?


Maximise returns on investment?


I got a 96 and am pleased with that. I have serious concerns about Amazon as a company, they're too big and predatory.

I've been using AWS at various companies and have tried to embrace its paradigms but I hate them.


The EU are working on something like this, it's like USDC but backed and exchanged by the European Central Bank.

https://www.ecb.europa.eu/paym/digital_euro/html/index.en.ht...


Irrelevant but EU has SEPA Instant Payments which basically resolves GPs issues with bank transfers.


Unfortunatelly, this is not really true.

You bear all the risk as the merchant, the customers can simply reverse a transaction, repeatedly, without providing a reason, for up to couple months.


A surveillance coin that bureaucrats can seize without a trial or due process!

The EU may not be the first to make this.


Grep is a performance sensitive program, it's not unusual to scan through thousands of files and millions of lines so small inefficiencies are noticeable.

If you tried this in python it would probably take hours to scan through something that ripgrep does in a few seconds


Go has these same properties


My ISP gives a dedicated IPv4 to anyone that asks, everyone else goes on CGNAT. Hardly anyone asks so they don't mind.


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

Search: