Home > Articles > Security > General Security and Privacy

  • Print
  • + Share This
From the author of

Building and Configuring IHttpModule

Here are the steps for compiling and configuring StateWall (refer to Figures 4, 5, and 6):

Figure 4

Figure 4 .NET 2.0 command prompt.>

Figure 5

Figure 5 Compiling with csc.

Figure 6

Figure 6 Generation of StateWall DLL.

To implement on IIS, follow these steps:

  1. Put StateWall.dll into the /bin/ folder of the root directory of login.example.com.
  2. Add the following lines to the web.config file (this is required to load this module):
      <add type="StateWall.StateShield, StateWall" name="StateShield" />

Now that the hook has been turned on, every request hitting ASP.NET resources such as .aspx or .asmx will be processed. StateWall is up and running for session-based decision-making at the gates of the Web application.

The directory struture on the Web application root appears as shown in Figure 7.

Figure 7

Figure 7 Directory structure on the Web application root.

  • + Share This
  • 🔖 Save To Your Account