Description
SafeLine is a self-hosted web application firewall and reverse proxy. It sits in front of a web application and filters and monitors HTTP and HTTPS traffic between the application and the internet, so that malicious requests are blocked before they reach the server. The README lists protection against common web attacks, including SQL injection, cross-site scripting, code injection, OS command injection, CRLF injection, LDAP and XPath injection, remote code execution, XXE, SSRF, path traversal, backdoors, brute force and HTTP floods, along with abusive bots. Its features include a defense for all of those attack types, rate limiting that throttles traffic above set limits to protect against denial of service and brute force, an anti-bot challenge that lets human visitors through while stopping crawlers and bots, and an authentication challenge that can be turned on for protected pages. The README also mentions IP-based rate limiting, web access control lists and HTML and JavaScript code encryption. The project is self-hosted, so the firewall runs on your own infrastructure. It has a documentation site, a live demo, a Discord community and a Chinese version of the README. Its achievements and quickstart are documented on the GitHub page, and the project is listed in the developer tools category.…
Highlights
- Self-hosted WAF and reverse proxy
- Blocks SQL injection, XSS and other web attacks
- Rate limiting against floods and brute force
- Anti-bot challenge for crawlers
- IP-based rate limiting and access control lists
Ratings & Reviews
No ratings yet
Be the first to rate SafeLine.
People also visit
Tempesta
Web application acceleration, advanced DDoS protection and web security
SafeLine FAQ
What is SafeLine?
A self-hosted web application firewall and reverse proxy that filters HTTP and HTTPS traffic before it reaches your web app.
What attacks does it block?
The README lists SQL injection, XSS, code injection, command injection, XXE, SSRF, path traversal, RCE, brute force and HTTP floods, among others.
How does it handle bots?
An anti-bot challenge lets human users through while crawlers and bots are blocked.
Where does it run?
On infrastructure you control, since it is self-hosted.
Where can I learn more?
The project website and docs, a live demo, and a Discord community are linked from the GitHub page.
What are the best SafeLine alternatives?
Popular alternatives to SafeLine include SafeLine, Wafris RB and BunkerWeb. See all SafeLine alternatives


