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 573
The use of Assert makes sense in the following situations:
You have coded a part of an application that will never be exposed to
the outside world.The user of the application has no way of knowing
what happens within that part of the application.Your code does need
access to protected resources, such as system files and/or Registry keys,
but because the callers will never find out that you use these protected
resources, it is reasonably safe to set an Assert to prevent a full security
check from being performed.You do not care if the caller has that
permission or not.
Your code needs to make one or more calls to unmanaged code ...
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