Secure development and operations
Liner code reaches production only through a CI/CD pipeline with syntax checks, linters, lock-file-pinned dependencies and automated migrations. Protection against common web attacks is built into the platform.
Protection against common attacks
| Threat | Protection |
|---|---|
| SQL injection | All database access uses prepared statements with typed parameters |
| Malicious uploads | File type is checked by content, not extension, against a per-category allowlist. Size is limited; execution of uploaded scripts is blocked at the web-server level |
| Clickjacking | X-Frame-Options: SAMEORIGIN header |
| MIME sniffing | X-Content-Type-Options: nosniff header |
| HTTP downgrade | HSTS for 1 year including subdomains, HTTPS redirect |
| Reconnaissance | Web server and PHP versions are hidden |
| API overload | Request rate and body size limits |
Delivery pipeline
CodeGitLab → Checkssyntax, ESLint, Prettier → Builddependencies without dev packages → Deploymaintenance mode, migrations
- Deployments run only through the GitLab CI/CD pipeline.
- During an update users see a maintenance screen, and database migrations are applied automatically.
- Only production dependencies reach production, without development tooling.
Infrastructure
- All components run in containers.
- Private image registry. Platform images are built by our CI/CD pipeline and stored in our own private container registry. Public registries are not used to store Liner builds.
- Internal services communicate over isolated internal networks.
- Configuration files are mounted into containers read-only.
- Dependency versions are pinned with lock files for reproducible builds.