Documentaion Contents Tutorials CCP4mg Home

Contents

Introduction Security Considerations Program Options

Introduction

CCP4MG is able to receive input from other programs. This is done using sockets. The other program may be on the same machine that CCP4MG is running on or a different one.

Security Considerations

CCP4MG executes the instructions which are sent to it via the socket communication. The instructions are in the form of Python code. This poses a security problem, if the program executed arbitrary code then a malicious program could send commands to do really bad things to the machine running CCP4MG.

CCP4MG attempts to address this problem in a variety of ways:

Program Options

A socket for remote control may be turned on by opening up the preferences pane: Edit->Preferences->Plugins preferences->Socket security options. There are two options:

socket preferences pane