Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How to answer "Perl is not secure" objections?

by Joost (Canon)
on Sep 06, 2007 at 18:29 UTC ( [id://637498]=note: print w/replies, xml ) Need Help??


in reply to How to answer "Perl is not secure" objections?

'Perl has bindings into OS calls that bypass OS security'.

The only way I can read that is as "our OS is insecure".

Either there are legitimate bindings in the OS to bypass normal security for good reasons, and those hooks have the usual protection (i.e. you need to be root / of a specific group to call them), or there are hooks in the OS that just break security and it doesn't matter what language you're using - you could probably break them using a shell script.

  • Comment on Re: How to answer "Perl is not secure" objections?

Replies are listed 'Best First'.
Re^2: How to answer "Perl is not secure" objections?
by grinder (Bishop) on Sep 07, 2007 at 07:19 UTC
    'Perl has bindings into OS calls that bypass OS security'.
    The only way I can read that is as "our OS is insecure".

    Quite. For instance, I wrote BSD::Sysctl, a module to allow you to manipulate FreeBSD sysctl kernel variables. If you're an ordinary user, you can only read the values. If you try to set a value... nothing happens (apart from an error condition returned by the kernel system call).

    You have to have superuser privileges in order to change a variable. So if you're already root, everything becomes insecure!.

    I'm sure if someone figured out how to set sysctl variables as an ordinary user in Perl, that the technique used would be completely language-independent (that is, the result of an exposed flaw in the OS).

    • another intruder with the mooring in the heart of the Perl

A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://637498]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-04-18 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found