Thanks for your response.
I've program name 'c:/eproof.pl' with two arguments 'inputdir' and 
'outputdir'.
Please tell me the exact process to use it through 'C' program, as I'm not 
much savvy with 'C'.

Kanhaiya Prasad
----- Original Message ----- 
From: "Chris Wagner" <wagn...@plebeian.com>
To: <perl-unix-us...@listserv.activestate.com>; 
<perl-win32-users@listserv.ActiveState.com>
Sent: Saturday, April 24, 2010 3:54 PM
Subject: Re: Use DLL files at Unix server


> 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
> Perl-Win32-Users@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
> 

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to