{"id":722,"date":"2014-12-23T23:44:27","date_gmt":"2014-12-23T14:44:27","guid":{"rendered":"http:\/\/dev.activebasic.com\/egtra\/?p=722"},"modified":"2016-01-24T02:41:30","modified_gmt":"2016-01-23T17:41:30","slug":"%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e8%a8%b1%e5%8f%af%e3%81%ae%e6%8c%87%e5%ae%9a%e3%81%a7%e3%83%aa%e3%83%a2%e3%83%bc%e3%83%88%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e3%82%92%e7%a6%81%e3%81%98%e3%82%8b","status":"publish","type":"post","link":"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/","title":{"rendered":"\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u306e\u6307\u5b9a\u3067\u30ea\u30e2\u30fc\u30c8\u30a2\u30af\u30bb\u30b9\u3092\u7981\u3058\u308b"},"content":{"rendered":"<p>\u672c\u8a18\u4e8b\u306f\u3001<a href=\"https:\/\/qiita.com\/advent-calendar\/2014\/com\">COM Advent Calendar 2014 &#8211; Qiita<\/a>\u306e23\u65e5\u76ee\u306e\u8a18\u4e8b\u3067\u3059\u3002<\/p>\n<hr \/>\n<p>\u524d\u56de\u306e\u7d9a\u304d\u3067\u3059\u3002\u524d\u56de\uff08<a href=\"\/egtra\/2014\/12\/22\/721\/\">OBJREF\u30e2\u30cb\u30ab\u30fc\u306b\u3088\u308b\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u9593\u306e\u901a\u4fe1\u3092\u8a66\u3059<\/a>\uff09\u3067\u306f\u3001OBJREF\u30e2\u30cb\u30ab\u30fc\u3067\u30ea\u30e2\u30fc\u30c8\uff08\u4ed6\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\uff09\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u304c\u3067\u304d\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3057\u305f\u3002\u4eca\u56de\u306f\u305d\u308c\u3092\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u306e\u8a2d\u5b9a\u3067\u7981\u6b62\u3059\u308b\u8a71\u3067\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u7121\u6761\u4ef6\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30ea\u30e2\u30fc\u30c8\u30a2\u30af\u30bb\u30b9\u7981\u6b62\u306e\u51e6\u7406\u3092\u5165\u308c\u308b\u3079\u304d\u3068\u306f\u8003\u3048\u3066\u3044\u307e\u305b\u3093\u3002\u3053\u3046\u3044\u3046\u3053\u3068\u3082\u53ef\u80fd\u3060\u3068\u3044\u3046\u7d39\u4ecb\u3067\u3059\u3002<\/p>\n<hr \/>\n<p>\u3042\u308b\u30d7\u30ed\u30bb\u30b9\u5185\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u306fDACL\u3067\u5236\u5fa1\u3067\u304d\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u3084\u30ec\u30b8\u30b9\u30c8\u30ea\u3001\u5404\u7a2e\u30ab\u30fc\u30cd\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u540c\u3058\u3067\u3059\u306d\u3002\u30a2\u30af\u30bb\u30b9\u30de\u30b9\u30af\u306f\u6b21\u306e5\u3064\u3067\u3059\u304c\u3001\u73fe\u5728\u610f\u5473\u304c\u3042\u308b\u306f\u4e0b4\u3064\u3067\u3059\u3002<\/p>\n<ul>\n<li>COM_RIGHTS_EXECUTE<\/li>\n<li>COM_RIGHTS_EXECUTE_LOCAL<\/li>\n<li>COM_RIGHTS_EXECUTE_REMOTE<\/li>\n<li>COM_RIGHTS_ACTIVATE_LOCAL<\/li>\n<li>COM_RIGHTS_ACTIVATE_REMOTE<\/li>\n<\/ul>\n<p>COM_RIGHTS_EXECUTE\u306f\u904e\u53bb\u306e\u3082\u306e\u3067\u73fe\u5728\u7121\u610f\u5473\u3001EXECUTE_*\u7cfb\u306f\u30d7\u30ed\u30bb\u30b9\u304c\u8d77\u52d5\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306b\u8d77\u52d5\u3059\u308b\u8a31\u53ef\u3001ACTIVATE\u306f\u8d77\u52d5\u3057\u3066\u3044\u308b\u30d7\u30ed\u30bb\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u8a31\u53ef\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a2d\u5b9a\u3092\u884c\u3046\u306b\u306f<a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms693736.aspx\">CoInitializeSecurity<\/a>\u95a2\u6570\u3092\u4f7f\u3044\u307e\u3059\u3002\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u306e\u6307\u5b9a\u65b9\u6cd5\u306f3\u7a2e\u985e\u3042\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u3067\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c7\u30b9\u30af\u30ea\u30d7\u30bf\u30fc\u3092\u4f7f\u3044\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u3001\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002\u524d\u56de\u306e\u30b3\u30fc\u30c9\u306bCoInitializeSecurity\u95a2\u6570\u306e\u547c\u3073\u51fa\u3057\u3092\u8ffd\u52a0\u3057\u305f\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre lang=\"cpp\">\r\n#define _ATL_NO_AUTOMATIC_NAMESPACE\r\n\r\n#include <iostream>\r\n#include <sstream>\r\n#include <stdlib.h>\r\n#include <windows.h>\r\n#include <aclapi.h>\r\n#include <comdef.h>\r\n#include <atlbase.h>\r\n#include <atlcom.h>\r\n#include <atlutil.h>\r\n#include <boost\/scope_exit.hpp>\r\n\r\nclass Module : public ATL::CAtlExeModuleT<Module> {};\r\nModule module;\r\n\r\nclass ATL_NO_VTABLE Hoge\r\n  : public ATL::CComObjectRootEx<ATL::CComMultiThreadModel>\r\n  , public ATL::CComCoClass<Hoge>\r\n  , public IDispatch\r\n{\r\npublic:\r\n  BEGIN_COM_MAP(Hoge)\r\n    COM_INTERFACE_ENTRY(IDispatch)\r\n  END_COM_MAP()\r\n\r\n  IFACEMETHOD(GetTypeInfoCount)(\r\n    __RPC__out UINT*) override\r\n  {\r\n    return E_NOTIMPL;\r\n  }\r\n\r\n  IFACEMETHOD(GetTypeInfo)(\r\n    UINT,\r\n    LCID,\r\n    __RPC__deref_out_opt ITypeInfo**) override\r\n  {\r\n    return E_NOTIMPL;\r\n  }\r\n\r\n  IFACEMETHOD(GetIDsOfNames)(\r\n    __RPC__in REFIID,\r\n    \/*__RPC__in_ecount_full(cNames)*\/ LPOLESTR*,\r\n    __RPC__in_range(0,16384) UINT,\r\n    LCID,\r\n    \/*__RPC__out_ecount_full(cNames)*\/ DISPID*) override\r\n  {\r\n    return E_NOTIMPL;\r\n  }\r\n\r\n  IFACEMETHOD(Invoke)(\r\n    _In_ DISPID dispIdMember,\r\n    _In_ REFIID riid,\r\n    _In_ LCID,\r\n    _In_ WORD flags,\r\n    _In_ DISPPARAMS *pDispParams,\r\n    _Out_opt_ VARIANT* pVarResult,\r\n    _Out_opt_ EXCEPINFO*,\r\n    _Out_opt_ UINT*) override\r\n  {\r\n    if (dispIdMember != DISPID_VALUE || flags != DISPATCH_METHOD)\r\n      return DISP_E_MEMBERNOTFOUND;\r\n    if (riid != IID_NULL)\r\n      return DISP_E_UNKNOWNINTERFACE;\r\n    if (pDispParams->cArgs != 0)\r\n      return DISP_E_BADPARAMCOUNT;\r\n    if (pDispParams->cNamedArgs != 0)\r\n      return DISP_E_NONAMEDARGS;\r\n    VariantInit(pVarResult);\r\n    std::cout << \"Hoge::Invoke\" << std::endl;\r\n    return S_OK;\r\n  }\r\n};\r\n\r\nstd::wstring GetObjrefMonikerDisplayString(IUnknown* obj)\r\n{\r\n  IMonikerPtr moniker;\r\n  ATLENSURE_SUCCEEDED(CreateObjrefMoniker(obj, &#038;moniker));\r\n  IBindCtxPtr bc;\r\n  ATLENSURE_SUCCEEDED(CreateBindCtx(0, &#038;bc));\r\n  LPOLESTR monikerStr;\r\n  ATLENSURE_SUCCEEDED(moniker->GetDisplayName(bc, nullptr, &monikerStr));\r\n  BOOST_SCOPE_EXIT_ALL(&monikerStr) { CoTaskMemFree(monikerStr); };\r\n  return monikerStr;\r\n}\r\n\r\nint main()\r\n{\r\n  try\r\n  {\r\n    ATLENSURE_SUCCEEDED(CoInitializeEx(\r\n      nullptr, COINIT_MULTITHREADED | COINIT_DISABLE_OLE1DDE));\r\n\r\n    \/\/ \u524d\u56de\u304b\u3089\u306e\u8ffd\u52a0\u5206\u3053\u3053\u304b\u3089\r\n\r\n    union\r\n    {\r\n      char buffer[SECURITY_MAX_SID_SIZE];\r\n      SID sid;\r\n    } networkLogon = {};\r\n    DWORD sidNetworkSize = sizeof networkLogon;\r\n    if (!CreateWellKnownSid(\r\n      WinNetworkSid, nullptr, &networkLogon.sid, &sidNetworkSize))\r\n    {\r\n      ATL::AtlThrowLastWin32();\r\n    }\r\n    \/\/ COM_RIGHTS_EXECUTE\u306f\u5e38\u306bOR\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\r\n    EXPLICIT_ACCESS ea[] =\r\n    {\r\n      {\r\n        \/*.grfAccessPermissions =*\/ COM_RIGHTS_EXECUTE\r\n          | COM_RIGHTS_ACTIVATE_LOCAL,\r\n        \/*.grfAccessMode =*\/ SET_ACCESS,\r\n        \/*.grfInheritance =*\/ NO_INHERITANCE,\r\n        \/*.Trustee =*\/ {\r\n          \/*.pMultipleTrustee =*\/ nullptr,\r\n          \/*.MultipleTrusteeOperation =*\/ NO_MULTIPLE_TRUSTEE,\r\n          \/*.TrusteeForm =*\/ TRUSTEE_IS_NAME,\r\n          \/*.TrusteeType =*\/ TRUSTEE_IS_UNKNOWN,\r\n          \/*.ptstrName =*\/ TEXT(\"EVERYONE\"),\r\n        },\r\n      },\r\n#if 1\r\n      {\r\n        \/*.grfAccessPermissions =*\/ COM_RIGHTS_EXECUTE\r\n          | COM_RIGHTS_EXECUTE_LOCAL | COM_RIGHTS_EXECUTE_REMOTE\r\n          | COM_RIGHTS_ACTIVATE_LOCAL | COM_RIGHTS_ACTIVATE_REMOTE,\r\n        \/*.grfAccessMode =*\/ DENY_ACCESS,\r\n        \/*.grfInheritance =*\/ NO_INHERITANCE,\r\n        \/*.Trustee =*\/ {\r\n          \/*.pMultipleTrustee =*\/ nullptr,\r\n          \/*.MultipleTrusteeOperation =*\/ NO_MULTIPLE_TRUSTEE,\r\n          \/*.TrusteeForm =*\/ TRUSTEE_IS_SID,\r\n          \/*.TrusteeType =*\/ TRUSTEE_IS_UNKNOWN,\r\n          \/*.ptstrName =*\/ reinterpret_cast<LPTSTR>(&networkLogon.sid),\r\n        },\r\n      },\r\n#endif\r\n    };\r\n\r\n    PACL dacl = nullptr;\r\n    DWORD result = SetEntriesInAcl(ARRAYSIZE(ea), ea, nullptr, &dacl);\r\n    ATLENSURE_THROW(result == ERROR_SUCCESS, HRESULT_FROM_WIN32(result));\r\n\r\n    SECURITY_DESCRIPTOR sd;\r\n    if (!InitializeSecurityDescriptor(&sd, SECURITY_DESCRIPTOR_REVISION))\r\n      ATL::AtlThrowLastWin32();\r\n    if (!SetSecurityDescriptorDacl(&sd, TRUE, dacl, FALSE))\r\n      ATL::AtlThrowLastWin32();\r\n    union\r\n    {\r\n      char buffer[SECURITY_MAX_SID_SIZE];\r\n      SID sid;\r\n    } admin = {};\r\n    DWORD sidSize = sizeof admin;\r\n    if (!CreateWellKnownSid(\r\n      WinBuiltinAdministratorsSid, nullptr, &admin.sid, &sidSize))\r\n    {\r\n      ATL::AtlThrowLastWin32();\r\n    }\r\n    if (!SetSecurityDescriptorOwner(&sd, &admin.sid, TRUE))\r\n    {\r\n      ATL::AtlThrowLastWin32();\r\n    }\r\n    if (!SetSecurityDescriptorGroup(&sd, &admin.sid, TRUE))\r\n    {\r\n      ATL::AtlThrowLastWin32();\r\n    }\r\n    ATLENSURE_SUCCEEDED(CoInitializeSecurity(&sd, -1, nullptr, nullptr,\r\n      RPC_C_AUTHN_LEVEL_DEFAULT, RPC_C_IMP_LEVEL_IMPERSONATE, nullptr,\r\n      EOAC_NONE, nullptr));\r\n\r\n    \/\/ \u524d\u56de\u304b\u3089\u306e\u8ffd\u52a0\u5206\u3053\u3053\u307e\u3067\r\n\r\n    IDispatchPtr hoge;\r\n    ATLENSURE_SUCCEEDED(Hoge::CreateInstance(&hoge));\r\n\r\n    std::wstring monikerStr = GetObjrefMonikerDisplayString(hoge);\r\n    ATLENSURE_SUCCEEDED(CoLockObjectExternal(hoge, TRUE, FALSE));\r\n\r\n    std::wcout << monikerStr << std::endl;\r\n\r\n    std::cin.get();\r\n  }\r\n  catch (const ATL::CAtlException&#038; e)\r\n  {\r\n    std::clog << std::hex << std::showbase;\r\n    std::clog << e.m_hr << ' ' << ATL::AtlGetErrorDescription(e) << std::endl;\r\n  }\r\n\r\n  CoUninitialize();\r\n}\r\n<\/pre>\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306eVBScript\u5074\u306e\u30b3\u30fc\u30c9\u306f\u524d\u56de\u304b\u3089\u5909\u66f4\u3042\u308a\u307e\u305b\u3093\u3002C++\u5074\u3092\u4e0a\u8a18\u306b\u5dee\u3057\u66ff\u3048\u3066\u5b9f\u884c\u3059\u308b\u3068\u3001\u4eca\u5ea6\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305f\u3001#if 1\u3092#if 0\u306b\u3059\u308b\u3068\u3001\u518d\u3073\u6210\u529f\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001\u6240\u6709\u8005: Administrators\u3001\u6240\u6709\u30b0\u30eb\u30fc\u30d7: Administators\u3068\u3057\u3001DACL\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u753b\u50cf\u306fDCOM\u69cb\u6210\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u30fc\u3067\u3067\u3063\u3061\u4e0a\u3052\u307e\u3057\u305f\u3002\u30b3\u30fc\u30c9\u4e0a\u306b\u30b3\u30e1\u30f3\u30c8\u3057\u3066\u3044\u308b\u3088\u3046\u306b\u3001COM_RIGHTS_EXECUTE\u306f\u5e38\u306bOR\u3057\u3066\u304a\u304b\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3088\u3046\u3067\u3059\uff08\u305d\u3046MSDN\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\uff09\u3002<\/p>\n<ul>\n<li>EVERYONE: COM_RIGHTS_ACTIVATE_LOCAL\u3092\u8a31\u53ef (SET_ACCESS)<br \/><img loading=\"lazy\" decoding=\"async\" src=\"\/egtra\/wp-content\/uploads\/2014\/12\/com-evenryone-allowed-la.png\" alt=\"Everyone\u306b\u30ed\u30fc\u30ab\u30eb\u304b\u3089\u306e\u30a2\u30af\u30c6\u30a3\u30d6\u5316\u3092\u8a31\u53ef\u306e\u30c0\u30a4\u30a2\u30ed\u30b0\u8868\u793a\" width=\"435\" height=\"519\" class=\"aligncenter size-full wp-image-723\" srcset=\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/com-evenryone-allowed-la.png 435w, https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/com-evenryone-allowed-la-251x300.png 251w\" sizes=\"(max-width: 435px) 100vw, 435px\" \/><\/li>\n<li>NETWORK: \u3059\u3079\u3066\u62d2\u5426 (DENY_ACCESS)<br \/><img loading=\"lazy\" decoding=\"async\" src=\"\/egtra\/wp-content\/uploads\/2014\/12\/com-network-denied-all.png\" alt=\"NETWORK\u306b\u5bfe\u3057\u3066\u3059\u3079\u3066\u3092\u62d2\u5426\" width=\"435\" height=\"519\" class=\"aligncenter size-full wp-image-725\" srcset=\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/com-network-denied-all.png 435w, https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/com-network-denied-all-251x300.png 251w\" sizes=\"(max-width: 435px) 100vw, 435px\" \/><\/li>\n<\/ul>\n<p>EVERYONE\u3067\u30ea\u30e2\u30fc\u30c8\u95a2\u4fc2\u306e2\u3064\u3092\u8a31\u53ef\u3057\u306a\u3044\u3060\u3051\u3067\u5927\u4e08\u592b\u304b\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u3001\u3084\u3063\u3066\u307f\u305f\u3089OBJREF\u30e2\u30cb\u30ab\u30fc\u306e\u5834\u5408\u3001\u63a5\u7d9a\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u4e0a\u8a18\u30d7\u30ed\u30b0\u30e9\u30e0\u306e#if 1\u30920\u306b\u3059\u308b\u3068\u305d\u306e\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30ed\u30b0\u30aa\u30f3\u3067\u5fc5\u305a\u4ed8\u4e0e\u3055\u308c\u308bNETWORK\u306b\u5bfe\u3057\u3066\u3059\u3079\u3066\u62d2\u5426\u3092\u4e0e\u3048\u305f\u3068\u3053\u308d\u3001\u3046\u307e\u304f\u3044\u304d\u307e\u3057\u305f\u3002<\/p>\n<hr \/>\n<p>\u8a31\u53ef\u3092\u4e0e\u3048\u308b\u5bfe\u8c61\u304cEVERYONE\u3067\u3042\u308b\u3053\u3068\u306a\u3069\u3001\u6539\u5584\u70b9\u306f\u3042\u308b\u3068\u306f\u601d\u3044\u307e\u3059\u304c\u3001\u3072\u3068\u307e\u305a\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u306e\u62d2\u5426\u306f\u53ef\u80fd\u305d\u3046\u3060\u3068\u3044\u3046\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u4eca\u56de\u306e\u4e3b\u306a\u60c5\u5831\u5143\u306fMSDN\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3067\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms679714.aspx\">DCOM Security Enhancements in Windows XP Service Pack 2 and Windows Server 2003 Service Pack 1<\/a><\/li>\n<li><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms679760.aspx\">Setting Process-Wide Security with CoInitializeSecurity<\/a><\/li>\n<li><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ms524492.aspx\">Calling CoInitializeSecurity in a Secure Manner<\/a><\/li>\n<\/ul>\n<p>\u4eca\u56de\u306f\u3053\u3046\u3044\u3046\u76ee\u7684\u306b\u4f7f\u3044\u307e\u3057\u305f\u304c\u3001\u3082\u3061\u308d\u3093\u307b\u304b\u306e\u4f7f\u3044\u65b9\u3082\u8003\u3048\u3089\u308c\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u300cAdministrators\u30b0\u30eb\u30fc\u30d7\uff08\u3042\u308b\u3044\u306f\u7279\u5b9a\u30e6\u30fc\u30b6\uff09\u304b\u3089\u3057\u304b\u4f7f\u7528\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u300d\u3001\u300c\u4fdd\u8b77\u30e2\u30fc\u30c9\u306eInternet Explorer\u306a\u3069\u4f4eIL\u30d7\u30ed\u30bb\u30b9\u304b\u3089\u306e\u63a5\u7d9a\u3092\u8a31\u53ef\u3059\u308b\u300d\u306a\u3069\u3067\u3059\u3002<\/p>\n<p>\u79c1\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5358\u4f4d\u3067\u306e\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u304c\u8a2d\u5b9a\u3067\u304d\u308b\u3068\u826f\u3044\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u6b8b\u5ff5\u306a\u304c\u3089\u305d\u3046\u3044\u3046\u4ed5\u7d44\u307f\u306f\u306a\u3044\u3088\u3046\u3067\u3059\u3002\u30d7\u30ed\u30bb\u30b9\u3092\u5206\u3051\u308b\u304b\u81ea\u524d\u3067\u3084\u308b\uff08\u5404\u30e1\u30bd\u30c3\u30c9\u306b\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u306e\u78ba\u8a8d\u51e6\u7406\u3092\u5165\u308c\u308b\uff09\u3057\u304b\u306a\u3055\u305d\u3046\u3067\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>COM\u30d7\u30ed\u30bb\u30b9\u3078\u306e\u30ea\u30e2\u30fc\u30c8\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3092DACL\u3067\u7981\u6b62\u3059\u308b\u8a71\u3067\u3059\u3002CoInitializeSecurity\u95a2\u6570\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c7\u30b9\u30af\u30ea\u30d7\u30bf\u30fc\u3092\u6e21\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10],"tags":[260,301,313],"class_list":["post-722","post","type-post","status-publish","format-standard","hentry","category-com","tag-advent-calendar","tag-dcom","tag-sid"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u306e\u6307\u5b9a\u3067\u30ea\u30e2\u30fc\u30c8\u30a2\u30af\u30bb\u30b9\u3092\u7981\u3058\u308b - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d<\/title>\n<meta name=\"description\" content=\"COM\u30d7\u30ed\u30bb\u30b9\u3078\u306e\u30ea\u30e2\u30fc\u30c8\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3092DACL\u3067\u7981\u6b62\u3059\u308b\u8a71\u3067\u3059\u3002CoInitializeSecurity\u95a2\u6570\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c7\u30b9\u30af\u30ea\u30d7\u30bf\u30fc\u3092\u6e21\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u306e\u6307\u5b9a\u3067\u30ea\u30e2\u30fc\u30c8\u30a2\u30af\u30bb\u30b9\u3092\u7981\u3058\u308b - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\" \/>\n<meta property=\"og:description\" content=\"COM\u30d7\u30ed\u30bb\u30b9\u3078\u306e\u30ea\u30e2\u30fc\u30c8\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3092DACL\u3067\u7981\u6b62\u3059\u308b\u8a71\u3067\u3059\u3002CoInitializeSecurity\u95a2\u6570\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c7\u30b9\u30af\u30ea\u30d7\u30bf\u30fc\u3092\u6e21\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/\" \/>\n<meta property=\"og:site_name\" content=\"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ysk.noh\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-23T14:44:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-01-23T17:41:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/com-evenryone-allowed-la.png\" \/>\n<meta name=\"author\" content=\"egtra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@egtra\" \/>\n<meta name=\"twitter:site\" content=\"@egtra\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"egtra\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/\",\"url\":\"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/\",\"name\":\"\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u306e\u6307\u5b9a\u3067\u30ea\u30e2\u30fc\u30c8\u30a2\u30af\u30bb\u30b9\u3092\u7981\u3058\u308b - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\",\"isPartOf\":{\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#website\"},\"datePublished\":\"2014-12-23T14:44:27+00:00\",\"dateModified\":\"2016-01-23T17:41:30+00:00\",\"author\":{\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164\"},\"description\":\"COM\u30d7\u30ed\u30bb\u30b9\u3078\u306e\u30ea\u30e2\u30fc\u30c8\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3092DACL\u3067\u7981\u6b62\u3059\u308b\u8a71\u3067\u3059\u3002CoInitializeSecurity\u95a2\u6570\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c7\u30b9\u30af\u30ea\u30d7\u30bf\u30fc\u3092\u6e21\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/dev.activebasic.com\/egtra\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u306e\u6307\u5b9a\u3067\u30ea\u30e2\u30fc\u30c8\u30a2\u30af\u30bb\u30b9\u3092\u7981\u3058\u308b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#website\",\"url\":\"https:\/\/dev.activebasic.com\/egtra\/\",\"name\":\"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\",\"description\":\"\u982d\u306e\u4e2d\u306e\u304b\u3051\u3089\u3002ActiveBasic\u3092\u4e2d\u5fc3\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u8a71\u3092\u307c\u3061\u307c\u3061\u3068\u3002\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dev.activebasic.com\/egtra\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164\",\"name\":\"egtra\",\"sameAs\":[\"https:\/\/x.com\/egtra\"],\"url\":\"https:\/\/dev.activebasic.com\/egtra\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u306e\u6307\u5b9a\u3067\u30ea\u30e2\u30fc\u30c8\u30a2\u30af\u30bb\u30b9\u3092\u7981\u3058\u308b - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","description":"COM\u30d7\u30ed\u30bb\u30b9\u3078\u306e\u30ea\u30e2\u30fc\u30c8\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3092DACL\u3067\u7981\u6b62\u3059\u308b\u8a71\u3067\u3059\u3002CoInitializeSecurity\u95a2\u6570\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c7\u30b9\u30af\u30ea\u30d7\u30bf\u30fc\u3092\u6e21\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/","og_locale":"ja_JP","og_type":"article","og_title":"\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u306e\u6307\u5b9a\u3067\u30ea\u30e2\u30fc\u30c8\u30a2\u30af\u30bb\u30b9\u3092\u7981\u3058\u308b - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","og_description":"COM\u30d7\u30ed\u30bb\u30b9\u3078\u306e\u30ea\u30e2\u30fc\u30c8\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3092DACL\u3067\u7981\u6b62\u3059\u308b\u8a71\u3067\u3059\u3002CoInitializeSecurity\u95a2\u6570\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c7\u30b9\u30af\u30ea\u30d7\u30bf\u30fc\u3092\u6e21\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\u3002","og_url":"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/","og_site_name":"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","article_publisher":"https:\/\/www.facebook.com\/ysk.noh","article_published_time":"2014-12-23T14:44:27+00:00","article_modified_time":"2016-01-23T17:41:30+00:00","og_image":[{"url":"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/com-evenryone-allowed-la.png"}],"author":"egtra","twitter_card":"summary_large_image","twitter_creator":"@egtra","twitter_site":"@egtra","twitter_misc":{"\u57f7\u7b46\u8005":"egtra","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/","url":"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/","name":"\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u306e\u6307\u5b9a\u3067\u30ea\u30e2\u30fc\u30c8\u30a2\u30af\u30bb\u30b9\u3092\u7981\u3058\u308b - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","isPartOf":{"@id":"https:\/\/dev.activebasic.com\/egtra\/#website"},"datePublished":"2014-12-23T14:44:27+00:00","dateModified":"2016-01-23T17:41:30+00:00","author":{"@id":"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164"},"description":"COM\u30d7\u30ed\u30bb\u30b9\u3078\u306e\u30ea\u30e2\u30fc\u30c8\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3092DACL\u3067\u7981\u6b62\u3059\u308b\u8a71\u3067\u3059\u3002CoInitializeSecurity\u95a2\u6570\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c7\u30b9\u30af\u30ea\u30d7\u30bf\u30fc\u3092\u6e21\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/23\/722\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/dev.activebasic.com\/egtra\/"},{"@type":"ListItem","position":2,"name":"\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u306e\u6307\u5b9a\u3067\u30ea\u30e2\u30fc\u30c8\u30a2\u30af\u30bb\u30b9\u3092\u7981\u3058\u308b"}]},{"@type":"WebSite","@id":"https:\/\/dev.activebasic.com\/egtra\/#website","url":"https:\/\/dev.activebasic.com\/egtra\/","name":"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","description":"\u982d\u306e\u4e2d\u306e\u304b\u3051\u3089\u3002ActiveBasic\u3092\u4e2d\u5fc3\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u8a71\u3092\u307c\u3061\u307c\u3061\u3068\u3002","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dev.activebasic.com\/egtra\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164","name":"egtra","sameAs":["https:\/\/x.com\/egtra"],"url":"https:\/\/dev.activebasic.com\/egtra\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/posts\/722"}],"collection":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/comments?post=722"}],"version-history":[{"count":0,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/posts\/722\/revisions"}],"wp:attachment":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/media?parent=722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/categories?post=722"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/tags?post=722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}