
Methodology for
Writing Safe ActiveX Controls
How do you write safe ActiveX controls? Again, the first step is to use good judg-
ment and common sense. Be sure you know everything about your control, how it
works, and its capabilities. Good software engineering practices and design tech-
niques will also help you write Safe ActiveX controls:
■
Thoroughly document your control to give administrators —and users—the
upper hand when they consider the potential risk of using your control.
■
Design your control with the minimum functionality required to accomplish
its task. Any extra functionality is an open invitation to exploitation.
■
Pay special attention ...