Microsoft has published a very good article on how to create a code permission under AOT security at http://msdn.microsoft.com/EN-US/library/gg880012.aspx. To augment this article with a real-world example, we will build a feature that calls the service that updates the vehicle group. Code access permissions come into effect when the method has the
This decoration has three outcomes:
We are concerned with the latter, and this does offer protection from inadvertent access to server methods. Security can become ...