jdharm
09-26-2003, 08:34 AM
I have a couple of high-dollar engineering apps (AutoCad, Inventor, CircuitMaker) that the authors saw fit to write the programs such that only Admins can run them.
As a final solution ( I couldn't come up with anything else and I will not turn my Users into Admins) I ended up using RunAs and SendKeys to start the apps with an admin account while a User is logged in. I used a username that was a huge random string and everything flashes fast enough I am hoping that no one can read it or interrupt it. I do this with a simple vbs script since I don't really know any programing languages.
I have heard vague references to 'encoding' vbs files so that they are executable but not human readable without a decoder ('keep the honest thief honest' type thing). Anyone know how this is done? I know VB files can be made executables fairly easily, but not vbs. I looked up the info on MS Script Encoder, but it seemed to only apply to script embedded into html or asp pages. I couldn't figure out how to use it with a stand-alone script and the paltry documentation on the MSDN page didn't mention this possibility, so I'm thinking that is the wrong way to go altogether.
Any suggestions?
Josh
<a target="_blank" href=http://www.jdharm.net>www.jdharm.net</a>
As a final solution ( I couldn't come up with anything else and I will not turn my Users into Admins) I ended up using RunAs and SendKeys to start the apps with an admin account while a User is logged in. I used a username that was a huge random string and everything flashes fast enough I am hoping that no one can read it or interrupt it. I do this with a simple vbs script since I don't really know any programing languages.
I have heard vague references to 'encoding' vbs files so that they are executable but not human readable without a decoder ('keep the honest thief honest' type thing). Anyone know how this is done? I know VB files can be made executables fairly easily, but not vbs. I looked up the info on MS Script Encoder, but it seemed to only apply to script embedded into html or asp pages. I couldn't figure out how to use it with a stand-alone script and the paltry documentation on the MSDN page didn't mention this possibility, so I'm thinking that is the wrong way to go altogether.
Any suggestions?
Josh
<a target="_blank" href=http://www.jdharm.net>www.jdharm.net</a>