What security considerations should I take into account when creating a custom error page for Cloudflare Tunnel?

Responsive Ad Header

Question

Grade: Education Subject: Support
What security considerations should I take into account when creating a custom error page for Cloudflare Tunnel?
Asked by:
112 Viewed 112 Answers

Answer (112)

Best Answer
(378)
Ensure your custom error page is secure to avoid vulnerabilities. Avoid using inline JavaScript and CSS; instead, link to external files. Sanitize any user-provided input if your error page displays any data. Regularly update dependencies in your Worker code and your static assets. Monitor your Worker's logs for any errors or suspicious activity that could indicate an attack.