Avatar of layerset
layerset

asked on 

perl disable

hello
how do I disable perl in Cpanel server for any and prevent to use addhandler or addtype in .htaccess for enable it inside of directory .
without remove cgi perl type from httpd.conf
without chmod 700 for /usr/bin/perl

thank you
Scripting LanguagesApache Web ServerPerl

Avatar of undefined
Last Comment
mjcoyne
ASKER CERTIFIED SOLUTION
Avatar of Kamran Arshad
Kamran Arshad
Flag of Pakistan image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of mjcoyne
mjcoyne

If you can't remove the typehandler from httpd.conf, can't use permissions, and can't just remove Perl, I think you'll have to use SELinux (http://www.nsa.gov/selinux/) or AppArmor (http://www.novell.com/linux/security/apparmor/), and control access to Perl via a security policiy.
Scripting Languages
Scripting Languages

A scripting language is a programming language that supports scripts, programs written for a special run-time environment that automate the execution of tasks that could alternatively be executed one-by-one by a human operator. Scripting languages are often interpreted (rather than compiled). Primitives are usually the elementary tasks or API calls, and the language allows them to be combined into more complex programs. Environments that can be automated through scripting include software applications, web pages within a web browser, the shells of operating systems (OS), embedded systems, as well as numerous games. A scripting language can be viewed as a domain-specific language for a particular environment; in the case of scripting an application, this is also known as an extension language.

30K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo