The Go team's new os.Root function provides a sandboxed view of the filesystem, enhancing security and preventing path traversal attacks. This text explains the motivation behind the feature and how it can be used to build more secure applications.
https://go.dev/blog/osroot
Post #136
128