Skip to Main Content
VB.Net Web Developer's Guide
book

VB.Net Web Developer's Guide

by Syngress
September 2001
Intermediate to advanced content levelIntermediate to advanced
608 pages
23h 46m
English
Syngress
Content preview from VB.Net Web Developer's Guide
Security • Chapter 12 583
Role-Based Security Checks
Having discussed the creation and manipulation of PrincipalObject, it is time to take
a look at how they can assist you in performing role-based security checks. Here is
where PrincipalPermission, already mentioned in the beginning of the section “Role-
Base Security,” comes into play. Using PrincipalPermission, you can make checks on
the active principal object, be it the WindowsPrincipal or the GenericPrincipal.The
active principal object can be one you created to perform a one-time check, or it
can be the principal you bound to the thread. Like the code access permissions, the
PrincipalPermission ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

VB.NET Core Classes in a Nutshell

VB.NET Core Classes in a Nutshell

Budi Kurniawan, Ted Neward

Publisher Resources

ISBN: 9781928994480