Microsoft.Identity.Client.Extensions.Msal.Accessors.FileWithPermissions
Creates a new file with "600" permissions (i.e. read / write only by the owner) and writes some data to it.
On Windows, file security is more complex, but an equivalent is achieved.