Deployment Checklist

This chapter has presented a number of measures you can take to secure your application for deployment, such as Authenticode signing, strong-name signing, and applying .NET security policy updates. The following checklist provides the list of measures you should take to secure your application and the order in which you should perform the steps:

  1. Create a release build of the application, not a debug build. This includes making sure all preprocessor constant values, which are checked in your code using the #If ...Then statement are appropriately set for release. Use the AssemblyDelaySign attribute if you intend to strong-name the application later.

  2. Obfuscate the application if you choose to do so.

  3. Strong-name sign the application. ...

Get Security for Microsoft® Visual Basic® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.