livecode-static/docs/assets/js/6810147d.2a616308.js
2025-06-11 22:23:49 +08:00

1 line
3.0 KiB
JavaScript

"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["540"],{898:function(e,t,r){r.r(t),r.d(t,{default:()=>f,frontMatter:()=>a,metadata:()=>s,assets:()=>l,toc:()=>u,contentTitle:()=>c});var s=JSON.parse('{"id":"features/security","title":"Security","description":"User privacy and security are taken seriously.","source":"@site/docs/features/security.mdx","sourceDirName":"features","slug":"/features/security","permalink":"/docs/features/security","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/features/security.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"User Management","permalink":"/docs/features/user-management"},"next":{"title":"Self-Hosting","permalink":"/docs/features/self-hosting"}}'),n=r("5893"),i=r("65"),o=r("5178");let a={},c="Security",l={},u=[];function d(e){let t={a:"a",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,i.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.header,{children:(0,n.jsx)(t.h1,{id:"security",children:"Security"})}),"\n","\n",(0,n.jsx)(t.p,{children:"User privacy and security are taken seriously."}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:["\n",(0,n.jsxs)(t.p,{children:["All user code, ",(0,n.jsx)(t.a,{href:"/docs/features/result",children:"result page"})," and compilers run in ",(0,n.jsx)(t.a,{href:"https://www.html5rocks.com/en/tutorials/security/sandboxed-iframes/",children:"sandboxed iframes"})," with a unique origin."]}),"\n"]}),"\n",(0,n.jsxs)(t.li,{children:["\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.a,{href:"/docs/features/embeds",children:"Embedded playgrounds"})," do not have access to the parent page, or to sensitive data like user cookies and localstorage of the embedding page origin."]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(t.p,{children:["If you find any security vulnerability, please report it in the ",(0,n.jsx)(t.a,{href:"/docs/contact",children:"contact page"})," or by email to ",(0,n.jsx)(o.Z,{email:"security@livecodes.io",text:"security@livecodes.io"}),"\nFor other non-security-related bugs, please report them in the ",(0,n.jsx)(t.a,{href:"https://github.com/live-codes/livecodes/issues",children:"repo issues"}),"."]})]})}function f(e={}){let{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},5178:function(e,t,r){r.d(t,{Z:function(){return n}});var s=r(5893);function n(e){let t=e.email.replace("@","@").replace(".",".");return(0,s.jsx)("a",{href:`mailto:${t}`,target:"_blank",rel:"noopener noreferrer",children:e.text||t})}},65:function(e,t,r){r.d(t,{Z:function(){return a},a:function(){return o}});var s=r(7294);let n={},i=s.createContext(n);function o(e){let t=s.useContext(i);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]);