mirror of
https://tildegit.org/solderpunk/molly-brown.git
synced 2025-04-13 09:29:46 +00:00
14 lines
402 B
Go
14 lines
402 B
Go
// +build js nacl plan9 windows
|
|
|
|
package main
|
|
|
|
import (
|
|
"log"
|
|
)
|
|
|
|
// Restrict access to the files specified in config in an OS-dependent way.
|
|
// This is intended to be called immediately prior to accepting client
|
|
// connections and may be used to establish a security "jail" for the molly
|
|
// brown executable.
|
|
func enableSecurityRestrictions(config Config, ui userInfo, errorLog *log.Logger) error {
|
|
}
|