Hacking the Code: ASP.NET Web Application Security

Security Tools

The .NET Framework comes with 10 command-line security tools (see Table A.4) that help you perform your security tasks. For a more thorough description of these tools, consult the .NET Framework documentation.

Table A.4: Command-Line Security Tools

Name of Tool

Name of Executable

Description

Code Access Security Policy Utility

Caspol.exe

This tool can perform any operation in relation to the code access security policy. Because it can do more than the .NET Configuration Tool we have been using in this chapter, it is important that you familiarize yourself with it.

Certificate Verification Utility

Chktrust.exe

With this tool, you can check a file that has been signed using Authenticode.

Certificate Creation Utility

Makecert.exe

Creates an X.509 certificate for testing purposes. An option you might consider is to install the Certificates Services on Windows 2000, which makes it much easier to create and maintain certificates for development and testing

Certificate Manager Utility

Certmgr.exe

This utility manages your certificates, certificate trust lists, and so on. Use the Microsoft Management Console with the Certificates snap-in, which enables you to maintain not only your own certificates but also (if you have the rights) the certificates of your computer and service accounts.

Software Publisher Certificate Test Utility

Cert2spc.exe

This tool creates a software publisher s certificate for one or more X.509 certificates.

Permissions View Utility

Permview.exe

This tool enables you to view the requested permissions of an assembly.

PE Verify Utility

Peverify.exe

This tool enables you to verify the type safety of a...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Weights
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.