What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Announcements » Announcements & News » Archive » Script? did I hear script?

2 votes - 5 average   Script? did I hear script?
Author: Message:
FoboldFKY
New Member
*


Posts: 8
– / Male / –
Joined: Feb 2003
RE: Script? did I hear script?
Just thought I'd chip in my AUD$0.02 :P

As someone who's been playing with scripting for years, and having actually written myself a few scripting languages, I had this irrisistable urge to spill my guts (eww :S).

Anyway, as for the concerns about security, that's always a problem.  I mean, what was said about OnFileRecieve would be a huge problem... but I try to look at it like this: if someone really wanted to install a trojan on your system, they wouldn't even need to use Messenger.
What needs to be remembered that the damage a script can do is nothing compared to what a compiled program can do.

Personally, I believe a good solution would be to implement these OnFileRecieved events, but place options in Plus! to disable them being called.

I recently wrote a plugin system for a friends IM program; it has events for pretty much everything.  However, in this system, no plugin can run itself in any way; the user must explicity enable each and every plugin weather it be one that runs and then terminates (eg: displays a dialog and quits) or runs in the background (listening for events).  Of course, the capability of a script to change the program's settings so it CAN run at any time is a problem...

My opinion is to go ahead with scripting.  A little trick to make sure that scripts can't be run directly would be to XOR them against a number, just so that they can ONLY be run via Plus.  Also, restricting the scripting engine's access to system objects (I don't know if this is actually possible), for example to Scripting.FileSystemObject so that it cannot access files on the harddrive without Plus!'s say so: a script could read settings from a configuration file, but not write to certain ones/not access the file itself, etc.

Finally, if at all possible, write your own language/vm.  This is a HUGE advantage, as you can exactly dictate what a script can and cannot do, and nothing more.

As for the debates raging about weather JScript is JavaScript:
JavaScript is part of Netscape/Mozilla/Pheonix, and is present in a few other applications.  It is available as source code, and does not support COM
JScript is a scripting language implemented by Microsoft's Scripting Runtime.  The version used in ASP is the same as used by the Windows Scripting Host, which would be the same as used by MP2 (assuming it uses JScript).  The difference is that the host application can add custom objects to the language for the scripter to use (ASP has Response and Request, MP2 might have MainWindow and IMWindow).

Sorry if I've gone on a bit... just trying to catch up on the discussion :P
02-04-2003 05:32 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Script? did I hear script? - by Patchou on 09-25-2002 at 08:12 PM
Here comes the n00b... - by fluffy_lobster on 11-24-2002 at 07:32 PM
RE: Here comes the n00b... - by cynix on 11-24-2002 at 07:56 PM
RE: Script? did I hear script? - by WDZ on 11-24-2002 at 08:01 PM
RE: Script? did I hear script? - by Skie on 11-24-2002 at 08:17 PM
RE: Script? did I hear script? - by blue_gough on 12-06-2002 at 05:00 PM
RE: Script? did I hear script? - by ginge on 12-08-2002 at 09:33 PM
RE: Script? did I hear script? - by bkwoodroff on 12-08-2002 at 09:43 PM
RE: Script? did I hear script? - by shine on 12-10-2002 at 07:00 AM
RE: Script? did I hear script? - by Cammo01 on 12-17-2002 at 04:29 PM
RE: Script? did I hear script? - by ginge on 12-17-2002 at 05:01 PM
RE: Script? did I hear script? - by RealmMaster on 12-17-2002 at 06:31 PM
RE: RE: Script? did I hear script? - by WDZ on 12-17-2002 at 09:45 PM
RE: RE: Script? did I hear script? - by the non_spam fakedage on 01-14-2003 at 07:33 AM
RE: Script? did I hear script? - by reisyboy on 12-17-2002 at 06:52 PM
RE: Script? did I hear script? - by quark on 12-19-2002 at 11:52 PM
RE: Script? did I hear script? - by WDZ on 12-20-2002 at 12:05 AM
RE: Script? did I hear script? - by Patchou on 12-20-2002 at 06:34 PM
RE: RE: Script? did I hear script? - by quark on 12-31-2002 at 03:21 AM
RE: Script? did I hear script? - by AI on 12-21-2002 at 12:07 PM
RE: Script? did I hear script? - by WDZ on 12-21-2002 at 05:49 PM
RE: Script? did I hear script? - by AI on 12-21-2002 at 08:36 PM
RE: Script? did I hear script? - by Skie on 01-02-2003 at 02:19 AM
RE: Script? did I hear script? - by Alpha Binary on 01-04-2003 at 05:09 PM
RE: RE: Script? did I hear script? - by MoRiA on 01-11-2003 at 03:20 PM
RE: Script? did I hear script? - by [white]shark on 01-12-2003 at 05:04 PM
RE: Script? did I hear script? - by the non_spam fakedage on 01-14-2003 at 07:20 AM
RE: Script? did I hear script? - by the non_spam fakedage on 01-14-2003 at 07:25 AM
RE: Script? did I hear script? - by sock on 01-14-2003 at 11:00 AM
RE: RE: Script? did I hear script? - by Dogga on 01-31-2003 at 09:14 AM
RE: Script? did I hear script? - by Swaptor on 01-14-2003 at 11:53 AM
RE: Script? did I hear script? - by jamesc on 01-15-2003 at 12:44 AM
RE: Script? did I hear script? - by dennistt on 01-15-2003 at 02:11 AM
RE: Script? did I hear script? - by alvarezp on 01-15-2003 at 11:00 AM
RE: Script? did I hear script? - by MoRiA on 01-15-2003 at 04:31 PM
RE: Script? did I hear script? - by alvarezp on 01-26-2003 at 07:10 AM
RE: Script? did I hear script? - by JustMe on 01-26-2003 at 06:42 PM
RE: Script? did I hear script? - by MoRiA on 01-26-2003 at 08:22 PM
RE: Script? did I hear script? - by fleetadmiralmatt on 01-31-2003 at 06:46 AM
RE: Script? did I hear script? - by ryan_the_leach on 01-31-2003 at 11:06 PM
RE: Script? did I hear script? - by fluffy_lobster on 02-01-2003 at 05:14 PM
RE: Script? did I hear script? - by dRu18 on 02-03-2003 at 10:31 PM
RE: Script? did I hear script? - by FoboldFKY on 02-04-2003 at 05:32 AM
RE: Script? did I hear script? - by [white]shark on 02-04-2003 at 09:24 AM
RE: Script? did I hear script? - by fluffy_lobster on 02-04-2003 at 07:03 PM
RE: Script? did I hear script? - by [white]shark on 02-05-2003 at 08:19 AM
RE: Script? did I hear script? - by alvarezp on 02-06-2003 at 08:24 AM
RE: Script? did I hear script? - by [white]shark on 02-06-2003 at 10:40 AM
RE: Script? did I hear script? - by chepibe16 on 02-06-2003 at 05:59 PM
RE: Script? did I hear script? - by FoboldFKY on 02-07-2003 at 01:08 AM
RE: Script? did I hear script? - by FoboldFKY on 02-07-2003 at 03:21 AM
RE: Script? did I hear script? - by alvarezp on 02-07-2003 at 10:27 AM
RE: Script? did I hear script? - by FoboldFKY on 02-08-2003 at 02:12 PM
RE: Script? did I hear script? - by [white]shark on 02-10-2003 at 08:17 AM
RE: Script? did I hear script? - by alvarezp on 02-11-2003 at 12:13 AM
RE: Script? did I hear script? - by [white]shark on 02-11-2003 at 09:05 AM
RE: Script? did I hear script? - by fluffy_lobster on 02-12-2003 at 05:15 PM
RE: Script? did I hear script? - by user2319 on 02-12-2003 at 07:32 PM
[no subject] - by WDZ on 09-25-2002 at 08:30 PM
[no subject] - by reisyboy on 09-25-2002 at 08:32 PM
[no subject] - by Patchou on 09-25-2002 at 08:51 PM
[no subject] - by WDZ on 09-25-2002 at 09:00 PM
[no subject] - by reisyboy on 09-25-2002 at 09:05 PM
[no subject] - by WDZ on 09-25-2002 at 09:13 PM
[no subject] - by reisyboy on 09-25-2002 at 09:37 PM
[no subject] - by Muss on 09-26-2002 at 01:46 AM
[no subject] - by Patchou on 09-26-2002 at 02:07 AM
[no subject] - by shine on 09-26-2002 at 04:39 AM
[no subject] - by Chrono on 09-27-2002 at 03:44 AM
[no subject] - by ginge on 09-27-2002 at 09:11 AM
[no subject] - by Menthix on 09-27-2002 at 09:47 AM
[no subject] - by Patchou on 09-27-2002 at 01:36 PM
[no subject] - by Johnny_Mac on 09-27-2002 at 02:41 PM
[no subject] - by reisyboy on 09-27-2002 at 05:15 PM
[no subject] - by ginge on 09-27-2002 at 05:19 PM
[no subject] - by Patchou on 09-27-2002 at 06:46 PM
[no subject] - by ginge on 09-27-2002 at 07:11 PM
[no subject] - by WDZ on 09-27-2002 at 08:40 PM
[no subject] - by Patchou on 09-27-2002 at 08:56 PM
[no subject] - by ginge on 09-27-2002 at 09:17 PM
[no subject] - by reisyboy on 09-27-2002 at 09:37 PM
[no subject] - by WDZ on 09-27-2002 at 09:47 PM
[no subject] - by reisyboy on 09-27-2002 at 09:51 PM
[no subject] - by ginge on 09-27-2002 at 09:57 PM
[no subject] - by reisyboy on 09-27-2002 at 10:00 PM
[no subject] - by shine on 09-28-2002 at 06:11 AM
[no subject] - by reisyboy on 09-28-2002 at 09:20 AM
[no subject] - by Patchou on 09-28-2002 at 07:44 PM
[no subject] - by ginge on 09-28-2002 at 07:47 PM
[no subject] - by reisyboy on 09-28-2002 at 07:50 PM
[no subject] - by ginge on 09-28-2002 at 07:53 PM
[no subject] - by Patchou on 09-29-2002 at 04:28 AM
[no subject] - by Muss on 09-29-2002 at 04:56 AM
[no subject] - by alvarezp on 10-06-2002 at 11:57 AM
[no subject] - by Patchou on 10-14-2002 at 03:25 PM
[no subject] - by ginge on 10-14-2002 at 04:39 PM
[no subject] - by dudboi on 11-24-2002 at 09:10 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On