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