Using Role-Based Security

As you develop sophisticated applications using MTS, you will likely need to secure your application against unauthorized access. Prior to MTS, it was not uncommon for applications to implement their own security mechanisms. Luckily, MTS has greatly sim plified this process by including two types of security:

  • Declarative security

  • Programmatic security

Declarative Security

Declarative security is used to define user access based on roles defined at a package level. Declarative security does not require any changes to be made to the component itself. After you have implemented security for a package, you can specify access to individual interfaces or components within that package.

A role is a symbolic name that defines ...

Get Sams Teach Yourself Microsoft® Windows® DNA Programming in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.