in reply to use lib './' security safe?
So I went back and removed the lib "./" decleration. And voila! My problem didn't come back. Ggrrrrrr!
I have no idea what was wrong before. Nor why I can't recreate the problem at this hour. I'm tired, I'm going to bed. This has been a horrible day for me. I spent all day fussing with existing flaky code and none actually writing new code. Might be time to repair the Linux box and get it running again.
So I guess the answer to my question: There is probably minimal security risk, it's there by default. Though I concure with hbo that I feel more comfortable with an absolute path. I just hate changing path information when I move the script from the Windows box to the UNIX box. Howver, I don't think I agree with him about . being a security risk with bogus modules place in the CWD. If someone breaks into the system and is able to place bogus modules in the CWD, I seriously doubt that not having . in the @INC would make any sort of difference. That's just my thinking though. I could be way wrong about that logic train.
----
Thanks for your patience.
Prove your knowledge @ HLPD
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: use lib './' security safe?
by hbo (Monk) on Jul 20, 2004 at 05:24 UTC | |
by Ven'Tatsu (Deacon) on Jul 20, 2004 at 14:00 UTC |