Skip to main content
The IPED Web API provides RESTful HTTP endpoints for remote case access. Currently, the API operates without built-in authentication.

Current Security Model

The IPED Web API v4.1 does not include built-in authentication or authorization mechanisms.
Security Notice: The Web API should only be deployed on trusted networks or behind a secure reverse proxy with authentication.

Deployment Security

Network Security

Bind to localhost only for local access:

Reverse Proxy Authentication

For production deployments, use a reverse proxy with authentication:

Nginx with Basic Auth

Create password file:

Apache with Basic Auth

API Gateway

Use an API gateway for advanced authentication:

Kong Gateway

AWS API Gateway

Deploy behind AWS API Gateway with:
  • IAM authentication
  • Cognito user pools
  • Lambda authorizers

Client Authentication

When using a reverse proxy with authentication:

Basic Authentication

Token-Based Authentication

If using an API gateway with token auth:

Network Isolation

Firewall Rules

Restrict access to specific IP addresses:

VPN Access

Require VPN connection for API access:
  1. Set up VPN server (OpenVPN, WireGuard)
  2. Bind API to VPN interface:

TLS/SSL Encryption

While the Web API doesn’t natively support TLS, use a reverse proxy for encryption:

Generate Self-Signed Certificate

Nginx TLS Configuration

Rate Limiting

Protect against abuse with rate limiting:

Nginx Rate Limiting

Application-Level Rate Limiting

Implement in your client application:

Audit Logging

Log all API access for security auditing:

Nginx Access Logs

Application-Level Logging

Log from your application:

Security Best Practices

Network Isolation

Deploy API on isolated network segment accessible only to authorized systems

TLS Encryption

Always use HTTPS/TLS in production via reverse proxy

Authentication

Implement authentication via reverse proxy or API gateway

Audit Logging

Log all API access for security monitoring and compliance
Production Deployments: Never expose the IPED Web API directly to the internet without authentication and encryption.
Defense in Depth: Use multiple security layers: network isolation, authentication, encryption, and rate limiting.

Future Enhancements

The IPED project may add native authentication in future versions. Planned features include:
  • JWT token-based authentication
  • Role-based access control (RBAC)
  • API key management
  • OAuth2 integration
  • Audit logging

See Also