Game Development Community

Downloading on the fly security?

by Neil Marshall · in Torque Game Engine · 04/17/2006 (1:57 pm) · 2 replies

I noticed the other day that TGE will just download the files it needs when it connects to a remote server if the executable is the same. Does that code also download new .cs scripts?

I'm just wondering because I'm implementing the web browser plugin and if you can just launch up a random web site and it could be directed to download .cs files which place bad files on your hard drive... that wouldn't be good.

#1
04/18/2006 (8:59 am)
No, it won't load .CS files, AFAIK. I'm almost sure the auto-download is done by the mission download phase, in which resources used in the mission which are missing in the client will be automatically transfered. I think resources used by datablocks might also get transferred, but I haven't tested it.

There's nothing, anywhere, which implies scripts should suffer the same process, since scripts are not quite treated as meda resources by the engine.
#2
04/18/2006 (10:41 am)
Okay, that sounds more secure then.