Hacker News new | ask | show | jobs
by socketcluster 9 days ago
A lot of people go about access control the wrong way. Adding access control to your agent itself is a waste of time because it's a matter of time before someone runs a different agent with different access controls. Access control needs to be enforced on the data access layer itself. It's bound to the data not the agent.

There is a dystopian vibe to the idea that access control should be enforced on the agent. It's the same train of thought which explains why some people think surveillance is the best way to prevent crime.

Data should be protected with correct and straightforward authentication and access control mechanisms, irrespective of who or what might attempt to access it. The rules should be auditable and verifiable exhaustively with respect to all data types and all possible roles.

Applying access control on the agent means you need to apply it to all possible agents. So then should we ban all non-approved agents which are lacking the required guardrails? How can you ban agents operated in other countries?

Still, if you put all the access controls on the agents and don't apply it at the data access layer, then a human would be able to access prohibited data; the agent could solve 99% of the issue and then a human executes the final command manually.

It doesn't work. What we need are new ways to store and retrieve data which put simple and auditable access control at the centre.