Security when the whold hard disk is copied?

Questions about MultiCharts and user contributed studies.
2haerim
Posts: 502
Joined: 01 Sep 2006
Been thanked: 2 times

Security when the whold hard disk is copied?

Postby 2haerim » 08 Aug 2009

Someone asked me the following:

If a password protected EL script is installed into a PC's main window drive, is it possible to copy the whole hard disk and use is on another PC?


He seems to be worried about not being able to prevent his EL script from being copied and used by other PCs.

If the answer to the above question is "Yes", what is the safest way to prevent his EL script from being illegally used.

User avatar
TJ
Posts: 6558
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 966 times
Been thanked: 1893 times

Postby TJ » 08 Aug 2009

PLEditor's Password Protection only prevents unauthorized viewing of source code, not unauthorized usage.


You can add these codes to enhance the usage security:

1. Username and Passcode


Code: Select all

input:
Username("ABCD"),
Passcode("12345");

var:
U.name("ABCD"),
P.code("12345");

if u.name = username
and p.code = passcode
then
begin
    {--put your code here--}
end;



2. Expiration Date:


Code: Select all

var:
expiration.date(1091231);

if ComputerDateTime < expiration.date
then
begin
    {--put your code here--}
end;



3. Limited to Specific MC User:


Code: Select all

if GetUserID = 1234567
then
begin
    {--put your code here--}
end;


Return to “MultiCharts”