Efficient Database-Driven Evaluation of Security Clearance for Federated Access Control of Dynamic XML Documents