The desktop .NET Framework has supported Code Access Security (CAS) for a long time but there have been plans to phase out this security model I believe.
Is CAS still fully working and supported as of .NET 4.5? Further, is it considered secure or is it merely supported as a compatibility measure?
I'm asking this to decide whether I can afford to load and sandbox untrusted code into a trusted .NET process using CAS.