Hi,
I just write a script (include awk and perl programming language) which is confidential to third party.
Does anybody got an idea that how can I only allow the third party to execute the program but "hidden" the content of my script?
Third party only allow to execute the following program by typing the following command:
You mean only C or Java program able to "hidden" the original source code and create an executable file without exploring the raw content of program for user?
Thanks.
---------- Post updated at 03:40 AM ---------- Previous update was at 03:38 AM ----------
Hi ROHON,
I just edit my question.
I will write all the command into a script and allow the user just run the script with the following command:
yes. I mean u can not create executable for shell script or a perl script. so, use this languages to encrypt your valuable code and give executable name as "program". so third party user just have to type "./program" command to execute your perl script.
make the program.sh belong to the third party user and set chmod 4500 ?
... or authorize any user to execute the program.sh but inside the program, make a test on the $LOGNAME or uid or whatever, and exit if it has not been identified as being the third party user ?