.NET Code Access Security. Code Access Security vs. Role-Based Security. RBS Security identity attached to user accounts Access to resources specified according to user’s group membership and ACLs Complete trust given to code CAS Security identity linked to code
bool Function IsPrime(int aNumber)
//Randomly scramble user files
Role-based security can’t prevent this!