Web application for managing and tracking security incidents, events, evidence, and indicators. Prototype developed for the AlcaldĂa de MedellĂn, 2021.
Author: Carmen Juliana Ibáñez Grajales — I.U. Pascual Bravo
| Layer | Technology |
|---|---|
| Backend | C# / ASP.NET Web Forms / .NET Framework 4.8 |
| Database | SQL Server (ADO.NET + Stored Procedures) |
| Frontend | Bootstrap 5.0.0-beta3 · jQuery 3.6.0 · Font Awesome 5.15.3 |
| Export | NPOI 2.5.3 (.xlsx files) |
- Visual Studio 2019 or later
- .NET Framework 4.8
- SQL Server (any edition supporting T-SQL)
- IIS Express (included with Visual Studio)
Run the following scripts against your SQL Server instance in order:
Segurity_Events_Web/Scripts/Base de datos.sql— creates theSegurity_Events_DBdatabase and all tables.Segurity_Events_Web/Scripts/Procedimientos_Almacenados.sql— creates all stored procedures.
Update the connection string in two places to point to your SQL Server instance:
Segurity_Events_Web/Web.config
<add name="Segurity_Events_DBConnectionString"
connectionString="Data Source=<SERVER>;Initial Catalog=Segurity_Events_DB;Integrated Security=True"
providerName="System.Data.SqlClient"/>Segurity_Events_Web/Conexion.cs
public static string cadena = "server=<SERVER>; database=Segurity_Events_DB; integrated security=true";- Open
Segurity_Events.slnin Visual Studio. - Press F5 to build and launch with IIS Express.
- The application will be available at
https://localhost:44323. - Entry point:
Inicio.aspx(login/welcome page).
Command-line build:
msbuild Segurity_Events.sln /p:Configuration=Debug /p:Platform=AnyCPU| Module | Page | Description |
|---|---|---|
| Home | Inicio.aspx |
Login / welcome screen |
| Incidents | Incidentes.aspx |
Incident CRUD, search, and Excel export |
| Events | Eventos.aspx |
Associated event logging |
| Evidence | Evidencia.aspx |
Supporting document management |
| Categories | Categoria.aspx |
Incident classification taxonomy |
| Indicators | Indicadores.aspx |
Security KPIs / metrics |
| Historical | Historico.aspx |
Historical data view |
| Downloads | Descargas.aspx |
Bulk data export |
| Search Incidents | Buscar_Incidentes.aspx |
Incident search and filtering |
| Search Categories | Buscar_Categoria.aspx |
Category search |
The project follows a 3-tier pattern without a dedicated business logic layer — code-behind files (*.aspx.cs) hold validation logic and make direct ADO.NET calls to SQL Server stored procedures.
*.aspx (ASP.NET server controls)
└── *.aspx.cs (code-behind: validation + SQL calls)
└── Conexion.cs (connection string)
└── SQL Server: Segurity_Events_DB
└── Stored Procedures (SP_Insert_*, SP_Select_*, SP_Delect_*)
Excel export is handled by the NPOI library via DataTableToExcel() helper methods defined in each code-behind that requires it.
| File | Description |
|---|---|
Segurity_Events_Web/Docs/Manual de uso Segurity Events.docx |
End-user manual |
Segurity_Events_Web/Docs/Requerimientos Segurity Events.docx |
System requirements |
Segurity_Events_Web/Docs/Modelado de Datos Segurity Events.PNG |
Data model diagram |
Segurity_Events_Web/Docs/Entrega Informe Final.pdf |
Final delivery report |
Segurity_Events_Web/Docs/Componentes usados en el ambiente de desarrollo.docx |
Dev environment components |
- Update the connection strings (see Setup section above).
- Publish via Visual Studio (Build → Publish) or MSBuild in Release mode:
msbuild Segurity_Events.sln /p:Configuration=Release /p:Platform=AnyCPU
- Deploy the published files to an IIS site with .NET Framework 4.8 installed.
- Ensure the application pool identity has access to the configured SQL Server instance.