2023-02-13 20:26:52 +01:00
|
|
|
// +build js nacl plan9 windows
|
2020-09-14 22:21:05 -04:00
|
|
|
|
|
|
|
package main
|
|
|
|
|
2023-02-23 18:49:15 +01:00
|
|
|
type userInfo struct {
|
|
|
|
}
|
|
|
|
|
2020-09-14 22:21:05 -04:00
|
|
|
// 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.
|
2023-02-25 11:29:13 +01:00
|
|
|
func enableSecurityRestrictions(config SysConfig, ui userInfo) error {
|
2023-02-23 18:49:15 +01:00
|
|
|
return nil
|
2020-09-14 22:21:05 -04:00
|
|
|
}
|