Using the security module

The examples here all refer to the security module.

Dump the security on a specific file

List details of the security which applies to a specific file. This is most interesting in an ad-hoc situation when you’re trying to assess things using the interpreter.

from winsys import dialogs, security

[filename] = dialogs.dialog("Choose file",("Filename", ""))
security.security(filename).dump()