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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.