Deploying Standalones/Prevent Malicious Code
Posted: Mon Oct 05, 2009 5:09 pm
Hello All,
I've been thinking deployment strategies and I've come across a question I can't find an answer to.
The deployment method I'm leaning towards is multiple "Main" stacks where one is the executable and it uses the other (.rev) stacks. I believe this is similar to how RunRev deploys the IDE as I've noticed .rev files in, for example, the Toolset folder (such as revdatagridlibrary.rev). I'm attracted to this method because of the ability to more easily update "components" of the application.
So, I would have, for example, MyRevApp.exe and BaseControls.rev as my two files to deploy. Now, I know I can password protect stacks to keep people out of them, but what is to keep someone from creating some malicious code, naming the stack BaseControls.rev and dropping it into the folder my app is deployed in. When I "start using" BaseControls, the malicious code will be executed.
Is there a way to verify a stack is really my stack before I trigger any code in the stack?
Thanks in advance,
I've been thinking deployment strategies and I've come across a question I can't find an answer to.
The deployment method I'm leaning towards is multiple "Main" stacks where one is the executable and it uses the other (.rev) stacks. I believe this is similar to how RunRev deploys the IDE as I've noticed .rev files in, for example, the Toolset folder (such as revdatagridlibrary.rev). I'm attracted to this method because of the ability to more easily update "components" of the application.
So, I would have, for example, MyRevApp.exe and BaseControls.rev as my two files to deploy. Now, I know I can password protect stacks to keep people out of them, but what is to keep someone from creating some malicious code, naming the stack BaseControls.rev and dropping it into the folder my app is deployed in. When I "start using" BaseControls, the malicious code will be executed.
Is there a way to verify a stack is really my stack before I trigger any code in the stack?
Thanks in advance,