This is a free-to-use JS drop-in to secure your website. It allows users to build a website in HTML and then convert it to JSON so they can render pages on the client-side, saving server resources and decreasing vectors for injection attacks, similar to how our Deterrence Encryptor technology works. We hope to create a website builder later so users can build entire websites in JSON using this technology.
Imagine being able to edit your website easily while offloading tasks to a client's browser. Re-rendering is a post-rendering process where a web page is rendered with structured JSON in its body and then re-rendered seamlessly without a user noticing it. There are two paths a re-render can take. The most secure re-render is via a sandboxed iFrame where trusted code can execute but untrusted code cannot inject, essentially blocking all dynamic injection of scripts that weren't embedded into the original code. The least secure re-render method renders the original code, allowing for dynamic script injection from unembedded sources, while blocking all other third-party script injection.
You can demo the Deterrent Renderer Website Builder here. You can demo the Deterrent Renderer Proof of Concept here.
- Download cyjsonrenderer.js
- Add to web project (e.g.,
/js/cyjsonrenderer.js) - Include this HTML to serve dynamically or statically generated JSON files:
<html lang='en'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
</head>
<body>
<div id="json-path" data-json-renderer-path="[path to json file]">[custom loader view]</div>
<script src="/js/cyjsonrenderer.js"></script>
</body>
</html>| Feature | Protection Level | Impact |
|---|---|---|
| Re-rendering | Critical | Prevents Man in the Middle (MitM) injection |
| Re-resourcing | High | Speeds up server rendering |
Supports all file types requiring JavaScript. Statically or dynamically generate JSON files to serve with our deterrence re-rendering.
This solution works on all servers and clients.
Send me a pull request!
Visit https://cydogbrowser.com