Sandbox related security policy protocol and application methods

XPLATFORM supports security policy based on the concept of Sandbox.

Security means protecting resources of a PC (folder/file) from hackers who try to steal or destroy without the consent of the owner of the PC. This chapter deals with Sandbox related security policy and its application methods provided by XPLATFORM.

Following are the terms used in this chapter.

Security policy

All rights to security belong to the user (PC owner). Therefore, when approaching the resources (folder/file) of a PC that is under protection, the rule is that XPLATFORM will make a ‘user check pop up’ appear and gain the user’s approval. ‘User check pop up ‘notifies user of approaching an unsafe file and enables the user to choose whether to allow access to the files and subfolders within a folder or not.

Below shows the information in an organized manner.

Security Level

Security application target

User check pop up

Accessibility

Private

Folder

Personal folder

X

o

Other folders

X

x

URL

D Class URL

X

o

Other URL

X

x

All

Folder

Personal folder

X

o

Other folders

O

o

URL

D Class URL

X

o

Other URL

O

o

We make it a rule to make path specifying method related to security functions the same as that of the web to maintain compatibility with XPLATFORM HTML5 version.

Specific security policy

Security application methods

The specific cases when XPLATFORM can steal, destroy resources of a user’s PC is when accessing a user PC resources using FileDialog, VirtualFile or stealing user PC resources using TCPClientSocket component.

When using File Dialog component

FileDialog does not have a risk of security as folders and files can be selected by users and cannot be arbitrarily altered by developers. Therefore, when using FileDialog access to folders/files is possible regardless of security level.

When using VirtualFile

When using TCPClientSocket component

Others

To prevent setup of XPLATFORM engine after swapping with another program, engineurl and updateurl which are URLs related to XPLATFORM update are only accessible when the level is the same as ADL domain regardless of security level.