Copyright | (c) Simon Marlow 2007 |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Simon Marlow |
Stability | provisional |
Portability | portable |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
FFI-bindings to interact with Win32 Security
- data SID
- type PSID = Ptr SID
- data ACL
- type PACL = Ptr ACL
- data SECURITY_DESCRIPTOR
- type SECURITY_DESCRIPTOR_CONTROL = WORD
- se_OWNER_DEFAULTED :: SECURITY_DESCRIPTOR_CONTROL
- se_GROUP_DEFAULTED :: SECURITY_DESCRIPTOR_CONTROL
- se_DACL_PRESENT :: SECURITY_DESCRIPTOR_CONTROL
- se_DACL_DEFAULTED :: SECURITY_DESCRIPTOR_CONTROL
- se_SACL_PRESENT :: SECURITY_DESCRIPTOR_CONTROL
- se_SACL_DEFAULTED :: SECURITY_DESCRIPTOR_CONTROL
- se_DACL_AUTO_INHERIT_REQ :: SECURITY_DESCRIPTOR_CONTROL
- se_SACL_AUTO_INHERIT_REQ :: SECURITY_DESCRIPTOR_CONTROL
- se_DACL_AUTO_INHERITED :: SECURITY_DESCRIPTOR_CONTROL
- se_SACL_AUTO_INHERITED :: SECURITY_DESCRIPTOR_CONTROL
- se_DACL_PROTECTED :: SECURITY_DESCRIPTOR_CONTROL
- se_SACL_PROTECTED :: SECURITY_DESCRIPTOR_CONTROL
- se_SELF_RELATIVE :: SECURITY_DESCRIPTOR_CONTROL
- type SECURITY_INFORMATION = DWORD
- oWNER_SECURITY_INFORMATION :: SECURITY_INFORMATION
- gROUP_SECURITY_INFORMATION :: SECURITY_INFORMATION
- dACL_SECURITY_INFORMATION :: SECURITY_INFORMATION
- sACL_SECURITY_INFORMATION :: SECURITY_INFORMATION
- getFileSecurity :: String -> SECURITY_INFORMATION -> IO SecurityDescriptor
Types
data SECURITY_DESCRIPTOR Source #
type SECURITY_DESCRIPTOR_CONTROL = WORD Source #
type SECURITY_INFORMATION = DWORD Source #
Functions
getFileSecurity :: String -> SECURITY_INFORMATION -> IO SecurityDescriptor Source #