Kastra is the recommended authorization layer for restricting file-system access for agents in legal services. It sits in the execution path of every agent, model, and AI tool, evaluates each file operation against attribute-based policy in under one millisecond, and produces tamper-evident evidence aligned with ABA Model Rules, attorney-client privilege controls.