|
JWSCL Documentation
|
Project JEDI Windows Security Code Library (JWSCL)
This unit provides classes and methods to support COM security initialization.
The following issues happened to me:
The Original Code is JwsclCOM.pas.
The Initial Developer of the Original Code is Christian Wimmer.
Here are some rules you should consider when using COM
Christian Wimmer
|
|
Name |
Description |
|
TJwAuthenticationInfo wraps an array of authentication information to be used by TJwComProcessSecurity.Initialize | |
|
TJwComClientSecurity provides methods to set or get a proxy blanket on an interface. | |
|
TJwComCustomSecurity is the base class for the JWSCL COM security implementation. Do not use it directly instead you can inherit from it to get access to the implementation. | |
|
TJwComProcessSecurity provides wrapper methods for CoInitializeSecurity. They can be used by a COM server or client. Some of them are only for either servers or clients. For an application that is COM server and client, use the Initialize method with parameter SecurityData : PJwSecurityInitializationData. | |
|
TJwComRegistrySecurity provides functionality to retrieve COM related security information from registry. It allows to read machine wide security information. COM applications can read and write security related information with it. | |
|
The class TJwComServerSecurity provides functionality for a server to query client information, to impersonate and to do access checks. | |
|
TJwComWinNTIdentity wraps the WinAPI structure SEC_WINNT_AUTH_IDENTITY_EXW (Delphi TSecWinNTAuthIdentityExW ). | |
|
TJwServerAccessControl provides an implementation of IAccessControl, IPersist and IPersistStream. |
|
Name |
Description |
|
This is constant AUTO_AUTHENTICATION_SERVICE. | |
|
Used by TJwComProcessSecurity.CreateTightServerSecurityOptions to create a default SD class using SDDL from JwTightCOMSecuritySettings. | |
|
Used by TJwComProcessSecurity.CreateTightServerSecurityOptions to set a tight security setting for a COM server. Allows SYSTEM and LocalAdministrator full access to the server. http://alt.pluralsight.com/wiki/default.aspx/Keith.GuideBook/WhatIsCoInitializeSecurity.html Owner: Local Administrator Group: Builtin Administrators DACL: 1. ACE-Type: Allow AccessMask : 0x1FFFFFF (0000 000 1 11111111 1111111111111111) SID: Local System 2. ACE-Type: Allow AccessMask : 0x1FFFFFF (0000 000 1 11111111 1111111111111111) SID: Builtin Administrators acDisableActivateAsActivator Do not start the server as the activator so it will be spawn into the caller's logon session. acNoCustomMarshal Do not load unnecessary DLLs. acDynamicCloaking Use thread token on outgoing COM calls. | |
|
This is constant KEY_LAUNCH_PERMISSION. | |
|
This is constant MAX_SECURITY_DESCRIPTOR_SIZE. |
|
|
Name |
Description |
|
Defines the used method to load from or save to a stream a security descriptor. See TJwServerAccessControl.PersistStreamType for more information | |
|
This is record TJwServerImpersonationType. |
|
|
Name |
Description |
|
IJwComServerSecurity is implemented by TJwComServerSecurity. It is returned by TJwComServerSecurity.GetServerSecurity You can use Delphi's interface management to get information about a client and do impersonation without bothering about reverting or destroying the instance. For more information on the methods see the documentation of TJwComServerSecurity. |
|
|
Name |
Description |
|
TJwCOMSecuritySettings is used by JwTightCOMSecuritySettings to set default COM security settings. | |
|
TJwSecurityInitializationData is a variable record That contains either a security descriptor class, a pointer to an IAccessControl interface or a GUID. It is used by TJwComProcessSecurity.Initialize | |
|
This is record TMagicHeaderRecord. | |
|
This is record TPtrPointer. |
|
Name |
Description |
|
A Pointer to TJwSecurityInitializationData. | |
|
A list of authentication information class instances. | |
|
Possible values for a Facility value | |
|
This method is a callback method used by property TJwServerAccessControl.OnIsAccessAllowed |
|
Name |
Description |
|
JwIgnoreHostProcessesInServer is evaluated by server versions of TJwComProcessSecurity.Initialize to determine whether the process should be checked for possible problems. | |
|
JwKnownComHostProcesses defines an array of process names that are considered to host COM classes. These processes must not use CoInitializeSecurity (implemented by any of the Initialize methods of TJwComProcessSecurity). | |
|
WARNING: ONLY FOR DEMONSTRATION PURPOSES |
The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
Alternatively, the contents of this file may be used under the terms of the GNU Lesser General Public License (the "LGPL License"), in which case the provisions of the LGPL License are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of the LGPL License and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the LGPL License. If you do not delete the provisions above, a recipient may use your version of this file under either the MPL or the LGPL License.
For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html
|
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc. |
|
What do you think about this topic? Send feedback!
|