Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Perl can't write files

by sundialsvc4 (Abbot)
on Apr 10, 2014 at 14:07 UTC ( #1081819=note: print w/replies, xml ) Need Help??

in reply to Perl can't write files

It’s fairly-obviously a permissions problem:   the user-id for the web server is probably nobody, which for very obvious reasons “isn’t allowed to do squat!”   Windows handles permissions somewhat differently, but the principle and therefore the essential problem is the same.

And of course, with regards to web servers you should be practicing the “principle of least privilege.”   Web servers are built to respond to (unpredictable, and quite possibly malicious) requests from the outside world-at-large.   You therefore want to strictly limit what they are capable of doing, touching, or even seeing.   That way, if someone somehow clocks your server in the head and fools it into asking the operating system to do something really nasty, the operating system will say:   “not only ‘no,’ but ...!!”   And there will be nothing that the web server (nor the person who secretly took it over) can do about it.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1081819]
[atcroft]: I thought I saw them on, and just wanted to let them know.
[LanX]: hmm ... or even better /msg /msg [discipulus]
LanX better!
[atcroft]: .oO(Plus it was a little slow for a few minutes, at least... ;) )

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2018-02-24 20:45 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (311 votes). Check out past polls.