永发信息网

一段与编程相关的英文,懂英文和编程的高手请进!

答案:1  悬赏:40  手机版
解决时间 2021-06-03 11:32
  • 提问者网友:遮云壑
  • 2021-06-03 00:01

8.18 IsolatedMemoryObjects
IsolatedMemoryObjects - List specific shared memory objects to isolate from other applications
Shared memory objects are created by applications using CreateFileMapping and OpenFileMapping.
Shared memory objects can be named or anonymous; when the objects are named, they will be
visible to other applications running in the same user account. Sometimes, it is desirable to isolate
shared memory objects so that virtual applications cannot see system objects and vice-versa. By
default, Thinstall will only isolate shared memory objects used by embedded Internet Explorer
instances, because there is a known conflict with between explorer.exe and iexplore.exe when they
map sandboxed files. You can use this option to isolate additional named shared memory objects so
they are visible only to other virtual applications using the same sandbox.
IsoaltedMemoryObjects accepts a list of entries that are separated using the ';' character. Each entry
can have wildcard characters '*' and '?' to match variable patterns.
Example
Isolate two shared memory objects, matching anything with "outlook" in the name and one matching
exactly "My Shared Object"
[BuildOptions]
IsolatedMemoryObjects=*outlook*;My Shared Object

8.19 IsolatedSynchronizatio...
IsolatedSynchronizationObjects - List specific synchronization objects to isolation from other
applications
Windows has several different named Synchronization objects :
- Mutex, accessed using OpenMutex & CreateMutex
- Semaphore, accessed using OpenSemaphore & CreateSemaphore
- Events, accessed using OpenEvent & CreateEvent
By default Thinstall will not isolate Synchronization objects. You can specify a list of sychronization
objects to isolate from other applications not running in the same virtual namespace. A namespace is
defined by the location of the application's sandbox. If two applications share the same sandbox
path, they will have the same namespace for isolated SynchronizationObjects. If two applications
have the same sandbox name, but the path to the sandbox is different, the applications will have
separate namespaces.
IsolatedSychronizationObjects accepts a list of entries that are separated using the ';' character. Each
entry can have wildcards characters '*' and '?' to match variable patterns.
Example
Isolate two synchronization objects, matching anything with "outlook" in the name and one matching
exactly "My Shared Object"
[BuildOptions]
IsolatedSychronizationObjects=*outlook*;My Shared Object

8.14 ExternalCOMObjects
ExternalCOMObjects - Controls whether a specific COM object CLSID will be created by
Thinstall or by Windows.
By default, Thinstall creates all COM objects inside of the virtual environment instead of Windows.
COM supports out-of-process (EXE) servers as well as service-based COM objects. If an application
can create such COM objects on the host PC and cause these COM objects to modify the host PC,
then the integrity of the host PC cannot be assured. However, if Thinstall executes out-of-process and
services-based COM objects inside of the virtual environment, all changes made by the COM objects
will be stored in the sandbox.
Example usage:
This instructs Thinstall to execute 2 COM objects outside of the virtual environment if they are
created by the application
[BuildOptions]
ExternalCOMObjects={8BC3F05E-D86B-11D0-A075-00C04FB68820};{7D096C5F-AC08-4F1FBEB7-
5C22C517CE39}
8.44 VirtualizeExternalOut...
VirtualizeExternalOutOfProcessCOM - Controls whether external Out-of-process COM
objects are run in the virtual environment
Thinstalled applications can create COM objects that are registered in the virtual environment, as well
as COM objects from the host system.
This option determines how to treat Out-of-process COM objects that are not part of a Thinstall
package and not registered in the virtual registry. By default, Thinstall will execute external out-ofprocess
COM objects in the virtual environment, so such COM objects cannot modify the host PC. If
you run into a compatability issue with an external COM object running in the virtual environment, this
option can be used to allow such objects to be created by and run on the host system. If you want to
run only specific COM objects outside of the virtual environment, you can list each COM object's
CLSID explicity using ExternalCOMObjects.
Examples:
This instructs Thinstall to execute all external out-of-process COM objects in the system context,
not in the virtual environment
[BuildOptions]
VirtualizeExternalOutOfProcessCOM=0
This instructs Thinstall to execute all external out-of-process COM objects in the virtual environment
(default)
[BuildOptions]
VirtualizeExternalOutOfProcessCOM=1

根据上面的解释
按照我现在的理解是:
设置成
VirtualizeExternalOutOfProcessCOM=0
不设置ExternalCOMObjects=
那程序就会直接调用系统环境的所有COM对象,如果设置了ExternalCOMObjects=只调用指定的com对象。
对吗?

关于 IsolatedMemoryObjects 和 IsolatedSynchronizatio...
我现在的理解是
如果不设置这两个内容,系统可以从这个程序中获取所有的内容,而如果不想让系统获取相关内容或者要隔离保护这个程序才需要设置这两个项目。
这样理解对吗?

另外com对象,MemoryObjects,SynchronizationObjects
各起什么作用?
请各位前辈指教,谢谢!

最佳答案
  • 五星知识达人网友:何以畏孤独
  • 2021-06-03 00:50

IsolatedMemoryObjects


IsolatedMemoryObjects -列出具体的共享内存对象从其他应用程序隔离


共享内存对象创建的应用程序使用CreateFileMapping和OpenFileMapping。


共享内存对象可以被命名或匿名的,当对象被命名为,他们将


可见的其他应用程序在同一用户帐户下运行。有时,是可取的孤立


共享内存对象,以便虚拟应用程序不能看到系统对象,反之亦然。通过


默认情况下,Thinstall只会孤立赞同嵌入式Internet Explorer使用的内存对象


情况下,因为有一个已知的冲突Explorer.exe和Iexplore.exe的关系时,


图沙箱文件。您可以使用此选项来隔离额外的命名共享内存对象,以便


他们只会显示给其他虚拟应用程序使用相同的沙箱。


IsoaltedMemoryObjects接受一个条目的列表分开使用','字符。每个条目


可以有通配符'*'和'?'可变模式匹配



例如


隔离两个共享内存对象,匹配“展望任何东西的名称和一个匹配的”


正是“我的共享对象”


[BuildOptions]


IsolatedMemoryObjects =*前景*;我的共享对象



8.19 IsolatedSynchronizatio ...


IsolatedSynchronizationObjects -列出具体的同步对象,以独立于其它


应用


Windows有几种不同的命名同步对象:


-互斥,访问使用OpenMutex&CreateMutex


-信号量,访问使用OpenSemaphore&CreateSemaphore


-活动,访问使用OpenEvent&CreateEvent


默认情况下Thinstall不会孤立同步对象。您可以指定一个sychronization名单


对象从其他应用程序隔离不是在同一个虚拟空间运行。命名空间是


定义的应用程序的沙箱的位置。如果两个应用程序共享相同的沙箱


道路,他们将有隔离SynchronizationObjects相同的命名空间。如果两个应用程序


具有相同的沙箱的名称,但到沙箱路径是不同的,申请将有


单独的命名空间。


IsolatedSychronizationObjects接受一个条目的列表分开使用','字符。每个


进入可以有通配符字符'*'和'?'匹配变量模式。



例如


隔离两个同步对象,匹配“展望任何东西的名称和一个匹配的”


正是“我的共享对象”


[BuildOptions]


IsolatedSychronizationObjects =*前景*;我的共享对象



8.14 ExternalCOMObjects


ExternalCOMObjects -控制是否有特定的COM对象的CLSID将可创造


Thinstall或Windows。


默认情况下,Thinstall产生内部的虚拟环境,而Windows的所有COM对象。


的COM支持外的进程(exe)的服务器以及服务为基础的COM对象。如果应用程序


可以建立在主机上的COM对象,并导致这些COM对象修改主机电脑,


那么,主机完整性无法得到保证。但是,如果Thinstall执行外的过程,


基于服务的内部的虚拟环境COM对象,由COM对象的所有变化


将存储在沙箱。


例子:


这指示Thinstall执行2 COM对象之外的虚拟环境,如果他们


创建应用程序


[BuildOptions]


ExternalCOMObjects =(8BC3F05E - D86B - 11D0 - A075 - 00C04FB68820),(7D096C5F - AC08 - 4F1FBEB7 -


5C22C517CE39)


8.44 VirtualizeExternalOut ...


VirtualizeExternalOutOfProcessCOM -控制是否对外门诊进程外COM


对象是运行在虚拟环境


Thinstalled应用程序可以创建COM对象,在虚拟环境中登记,以及


从主机系统COM对象。


此选项确定如何处理外的进程外COM对象不属于Thinstall的一部分


包,而不是在虚拟登记处登记。默认情况下,Thinstall将执行外部门诊ofprocess


虚拟环境中的COM对象,所以这些COM对象不能修改主机。如果


您运行一个外部COM对象在虚拟环境中运行,这成为一个兼容性问题


选项可以用来让这些物体为创建和运行在主机系统。如果你想


只运行特定的COM对象之外的虚拟环境中,您可以列出每个COM对象的


显式使用ExternalCOMObjects的CLSID。


例如:


这指示Thinstall执行所有外部外的进程内COM对象在系统范围内,


不是在虚拟环境


[BuildOptions]


VirtualizeExternalOutOfProcessCOM = 0


这指示Thinstall执行所有外部外的COM对象的过程在虚拟环境


(默认)


[BuildOptions]


VirtualizeExternalOutOfProcessCOM = 1

我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯