kernl API
    Preparing search index...

    Function createFirewall

    • The firewall as the host sees it: the rules, and the answers in force.

      Changing a rule takes back every answer the rules gave that they no longer give, as kehto requires of a host, so a tightened rule applies to applets already running: kehto ends the work those answers covered and kernl stops the window (see createAppletLifecycle). Answers the person gave stay until they take them back.

      Parameters

      Returns KernlFirewall

      The firewall.

      const firewall = createFirewall({ rules, permissions: bridge.runtime.permissions });
      firewall.setRule({ domain: 'relay' }, 'ask');
      firewall.decisions().filter((decision) => !decision.byRule);