Knowledgebase

Portal Home > Knowledgebase > Articles Database > Hardening Perl ??? plz


Hardening Perl ??? plz




Posted by z0ne, 06-29-2010, 11:54 AM
hi all I have a question if I may how to Hardening Perl and Prevent some scripts cg-telent ? And prevent users from Perl

Posted by Mopman, 06-29-2010, 05:32 PM
Really, the answer is the same for securing the server from any other attacks - they can't do anything with Perl that they can't do with anything else. So permissions, systrace, etc. File permissions on the perl interpreter itself (/usr/bin/perl) if you feel that is necessary. Locking down temporary directories and possibly automated checks for common files you do not wish to allow (you mentioned cgi-telnet). I'm not aware of any perl-specific products. Just general server hardening is the answer. EDIT: Oh and of course, removing the handler in your httpd for perl scripts and disabling the ability for them to add their own (ie AllowOverride in apache) if whatever is running on your server suits this. Remember perl is needed for cpanel though, if you are running that.

Posted by z0ne, 06-29-2010, 06:37 PM
thank you man Is it possible to explain in a more practical

Posted by david510, 06-29-2010, 07:21 PM
SuEXEC will take care of it.

Posted by z0ne, 06-29-2010, 08:20 PM
How Is it possible to explain to me please How do I activate it on my Perl cpanel Is it possible to change Handler perl ???

Posted by z0ne, 06-30-2010, 01:20 PM
help ???????????

Posted by LnxtecH, 07-01-2010, 08:28 AM
You can enable suexec from WHM

Posted by Aigen_tech, 07-01-2010, 09:37 AM
Hi, To disable Cgi-scripts in your server run the command This will disable all the cgi-scripts in the server. To enable suexec in the server, you will have to recompile php in the server. You can do it via WHM. Login to WHM>> recompile apache>> and select the suxec option in the module list. It seems that that you are not an expert with Linux. I will recommend you to contact a sysadmin and let them handle this for you.

Posted by z0ne, 07-01-2010, 08:30 PM
Thank you, man Reply really nice Is it allowed What is the benefit of these files in the server stopped working and whether any special problems to the work cpanel

Posted by VIPoint, 07-02-2010, 03:08 AM
Hi, These are the common formmail scripts that your users use in their websites. Like count.cgi (visitor counter) etc. DO NOT disable these .cgi files if any of the users are cPanel cgi scripts. The user will no longer will be able to access the scripts if you disable them



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read


Language:

Contact us