C 言語関数:CreatePrivateObjectSecurity サンプルコード

サンプルコードを検索した結果です。


TITLE : WinApi
tttitti BOOL CreatePrivateObjectSecurity(_In_opt_ PSECURITY_DESCRIPTOR ParentDescriptor, _In_opt_ PSECURITY_DESCRIPTOR CreatorDescriptor, _Out_ PSECURITY_DESCRIPTOR *NewDescriptor, _In_ BOOL IsDirectoryObject, _In_opt_ HANDLE Token, _In_ PGENERIC_MAPPING GenericMapping).......
http://hotkeyit.github.io/v2/docs/commands/WinApi.htm


TITLE : SetPrivateObjectSecurity function (Windows)
BOOL WINAPI CreatePrivateObjectSecurity(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/aa376405(v=vs.85).aspx
TITLE : 縲娠B縲善owerBuilder API Site
FUNCTION ulong CreatePrivateObjectSecurity(ref SECURITY_DESCRIPTOR ParentDescriptor,ref SECURITY_DESCRIPTOR CreatorDescriptor,ref SECURITY_DESCRIPTOR NewDescriptor,ulong IsDirectoryObject,ulong Token,ref GENERIC_MAPPING GenericMapping) LIBRARY "advapi32.dll".......
http://www.360doc.com/content/13/0216/20/11408198_266000549.shtml
TITLE : The Windows Access Control Model: Part 2 - CodeProject
You can use your own logic to manage the security descriptors (it will be easier to manage in SDDL form). Or you can make use of a special API, CreatePrivateObjectSecurity(), to do it for you. First, you must decide which methods of your class you want to restrict (you can restrict up to 16 methods per security descriptor). These methods must include generic actions specified in the GENERIC_MAPPING structure (even if you don't support themjust provide empty methods in this case)........
http://www.codeproject.com/Articles/10200/The-Windows-Access-Control-Model-Part
TITLE : The Windows Access Control Model: Part 2 - CodeProject
In the constructor for your class, make a call to CreatePrivateObjectSecurity() and store the returned security descriptor in one of your class members. You have now associated the security descriptor to your class. Should you need to update the security descriptor (e.g. during a configuration change), make a call to SetPrivateObjectSecurity(). This function will merge the old security descriptor with your own security descriptor........
http://www.codeproject.com/Articles/10200/The-Windows-Access-Control-Model-Part
TITLE : The Windows secure programming model based on the Windows access control list of the Win32 library with C working program examples
Use the CreatePrivateObjectSecurity(), DestroyPrivateObjectSecurity(), GetPrivateObjectSecurity() and SetPrivateObjectSecurity() functions........
http://www.tenouk.com/ModuleI3.html
Googleで検索

https://www.google.co.jp/#q=CreatePrivateObjectSecurity