Home: Perl Programming Help: mod_perl:
disabling certain Perl functions for a better security !!



GooglE T
New User

Nov 1, 2008, 9:08 AM


Views: 15824
disabling certain Perl functions for a better security !!

Hi all,
I have a question about cgi/perl security Smile

How i can disabling the system call functions like (open, system ...) in perl?? Because i have a security problem with CGI-Telnet in my server! Frown

Thanks


winfinit
User

Dec 1, 2008, 5:10 AM


Views: 14908
Re: [GooglE T] disabling certain Perl functions for a better security !!

just validate all your data before processing it, i dont think that there is a way to disable a built in perl functionalities. of used is entering "open" just create an if statement or something if($my_str =~ /open/) or $my_str eq 'open' return 0;