Discussion:
execute but no copy or read
(too old to reply)
Holger Spindler
2006-04-26 06:58:43 UTC
Permalink
Hello,

i'm searching for a special possibility to adjust users rights in AD.
The users have to execute batch files but mustn't read or copy the batch
files.
Background is that there are passwords in the batch files, users shall not
read them.

If this is not possible, do somebody know a program, that compile the batch
files to exe files and encrypt them? I have tryed bat2exe, but users can
read plaintext if they open the exe with an editor.

The batch files are saved on an win2003 Server

--
Holger Spindler
Landwehr
Computer u. Software GmbH
Tel.: 05908-938-311 Fax: 05908-938-103
Miha Pihler [MVP]
2006-04-26 08:25:45 UTC
Permalink
Hi,

If you require users to execute a program (batch files) they need read
permissions on these files.

You can try this tool that might help you solve the problem of clear text
password in batch file...

CPAU
http://www.joeware.net/win/free/tools/cpau.htm
--
Mike
Microsoft MVP - Windows Security
Post by Holger Spindler
Hello,
i'm searching for a special possibility to adjust users rights in AD.
The users have to execute batch files but mustn't read or copy the batch
files.
Background is that there are passwords in the batch files, users shall not
read them.
If this is not possible, do somebody know a program, that compile the batch
files to exe files and encrypt them? I have tryed bat2exe, but users can
read plaintext if they open the exe with an editor.
The batch files are saved on an win2003 Server
--
Holger Spindler
Landwehr
Computer u. Software GmbH
Tel.: 05908-938-311 Fax: 05908-938-103
Loading...