You create a Windows application by using the .NET Framework 3.5. The application is used by the
employees and managers of a bank.
You plan to implement role-based security for the application by using the Identity and Principal features
provided by the .NET Framework 3.5.
You need to ensure that application meets the following requirements:
All users are authenticated against credentials stored in the application database.
Only the managers can access certain features in the application.
What should you do?
A.
Manage roles as group accounts in Windows, and use the WindowsIdentity and WindowsPrincipal
classes in the application.
B.
Manage roles in the database, and use the WindowsIdentity and WindowsPrincipal classes in the
application.
C.
Manage roles as group accounts in Windows, and use the GenericIdentity and WindowsPrincipal
classes in the application.
D.
Manage roles in the database, and use the GenericIdentity and GenericPrincipal classes in the
application.