In that case u should use SETUID.  U make a compiled C wrapper that
possesses the SETUID bit and does nothing but execute the Perl script.  The
user runs the wrapper and can't read or execute the real script.


The C code is
#include <unistd.h>
int main(int argc, char *argv[]) {
    execv("PATH", argv);
    return 1;
}

Replace PATH with the Perl script.


At 03:21 PM 4/23/2010 +0530, Kprasad wrote:
>I've to give this script to someone else department and they should not be 
>able to modify or see the code.
>
>Kanhaiya



--
REMEMBER THE WORLD TRADE CENTER         ---=< WTC 911 >=--
"...ne cede malis"

00000100

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to