Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
MICROSOFT DYNAMICS AX 2012 R3 SECURITY

You're reading from   MICROSOFT DYNAMICS AX 2012 R3 SECURITY A quick guide to planning, designing, and debugging operational-level security for Microsoft Dynamics AX 2012 R3 implementations

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher Packt
ISBN-13 9781782175537
Length 106 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Ahmed Mohamed Rafik Moustafa Ahmed Mohamed Rafik Moustafa
Author Profile Icon Ahmed Mohamed Rafik Moustafa
Ahmed Mohamed Rafik Moustafa
Arrow right icon
View More author details
Toc

Using Code Access Security

The CAS framework is a mechanism developed to protect systems from dangerous APIs that are invoked by untrusted code. It simply allows two pieces of code to communicate in a manner that can't be compromised.

To know what untrusted code is, we will first define what trusted code is. Trusted code is defined as code from the AOT running on the Application Object Server (AOS), meaning the code must be written by a trusted developer. This is because the developer privileges and permissions are the highest level of permission over the entire application. In other words, if you execute the code outside the AOS on a client, there is the possibility that it was altered on the client side before execution, thus rendering the code untrusted. The following figure demonstrates this mechanism:

Using Code Access Security

Tip

For more information on CAS, visit Microsoft MSDN: http://msdn.microsoft.com/en-us/library/ff648663.aspx.

The main purpose of CAS is securing the tunnel between an API and its consumer...

You have been reading a chapter from
MICROSOFT DYNAMICS AX 2012 R3 SECURITY
Published in: Jun 2015
Publisher: Packt
ISBN-13: 9781782175537
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image