Secure a batch file?

January 6, 2012 at 11:59:08
Specs: Win 7 Ultimate , 4.17Ghz 8GB ram
Is there a good way to secure a batch file from other people viewing or changing the code in in?

I have made a batch file for a client it works with multi-million dollar machines and is very valuable to the client. I realize I should have made this in c or java but I knew how to do it in batch so I did so.

It is about 2000 lines and needs to have good security.

I have used batch to exe converters but that only compresses it inside of an exe then puts it into a temporary directory which can be taken out and used as a batch file again.

Any suggestions?

See More: Secure a batch file?

Report •

January 6, 2012 at 13:42:26
This can be answered a few ways, however, it all kinda depends on where you keep it (where its located).

Depending on where it's located, you can put strict permissions on that folder for read/write/execute access in the folder options. Right click the folder its stored in and scroll down to properties, you'll see a tab there called "Security".. you'll then see what I'm talking about.

I hope this helps!

Report •

January 6, 2012 at 14:18:27
Its mainly cuz the client is concerned that it will be stolen and sold to other companies. Right now the program give him a big advantage in the time category.

Right now it is in an exe format and tied to the mac address of the computer but because its a batch SCRIPT anyone can view the file.

Report •

January 6, 2012 at 14:22:39
Put the folder security on it.. anyone who is anyone won't be able to get in unless you program it to the folder.

If you already have it tied to the mac address, throw the folder protection on there and you'll be alright.


Jonas "Jackal" Lear
Serving the South Bay Since 1999

Report •

Related Solutions

Ask Question