Login
scripts/
Login

The maintainer's programs. They start the server and build the sandboxes OCX runs in.

fossil ocx2 daemon and its agent runs own folders, network repositories web page * no repositories no network receipt reader receipt-reader.cr no network serve.cr adds, over HTTPS as a non-admin user writes reads only confine.cr, per request asks starts confine.cr confine.cr thick: trusted program      dashed: sandbox built by confine.cr a sandbox's process reaches only what its box and arrows show
F: box "fossil" bold ht 0.5in wid 0.9in thick
D: box "ocx2 daemon" bold "and its agent runs" "own folders, network" italic wid 1.65in ht 0.9in dashed with .e at F.w - (1.5in, 0)
R: cylinder "repositories" wid 1.2in ht 0.7in with .w at F.e + (1.1in, 0)
W: box "web page *" bold "no repositories" italic "no network" italic wid 1.5in ht 0.9in dashed with .n at F.s - (0, 0.6in)
C: box wid 1.5in ht 0.9in dashed with .n at (R.x, W.n.y)
   text "receipt reader" bold at C.n - (0, 0.17in)
   box "receipt-reader.cr" bold thick wid 1.35in ht 0.3in at C.c
   text "no network" italic at C.s + (0, 0.17in)
S: box "serve.cr" bold ht 0.4in wid 0.9in thick with .s at F.n + (0, 0.5in)

arrow from D.e to F.w "adds, over HTTPS" above "as a non-admin user" below
arrow from F.e to R.w "writes" above
arrow from C.n to R.s "reads only" ljust
arrow from F.s to W.n "confine.cr," ljust "per request" ljust
arrow from W.e to C.w "asks" above
arrow from S.s to F.n "starts" ljust
arrow from S.w left until even with D then down to D.n
text "confine.cr" with .s at ((S.w.x + D.x) / 2, S.w.y)
line from S.e right until even with C.e + (0.3in, 0) then down until even with C
text "confine.cr" with .s at ((S.e.x + C.e.x + 0.3in) / 2, S.e.y)
arrow from last line.end to C.e
K1: text "thick: trusted program      dashed: sandbox built by confine.cr" italic with .n at ((D.w.x + C.e.x + 0.3in)/2, W.s.y - 0.2in)
    text "a sandbox's process reaches only what its box and arrows show" italic with .n at K1.s

Why changes here need the maintainer's approval

These programs build the sandboxes and run with the server's full authority: one changed line could open them. So they