in reply to RE: (4) directory list
in thread directory list

One danger that occurs to me off the top of my head is "borrowing code". When we need to write a quick script, how often do we say "Oh! I have some code that will do that" and take that code and modify it. If I grab your code to make a list of all files and I don't realize it's insecure, I could be revealing information that I don't want to.

Another issue would be with crackers. Part of their job breaking a system is to gather as much data as possible. With your script, they can test for any directory they want. That could be great information. Always give as little as possible and loosen up later.

Cheers,
Ovid

In the jungle of the World Wide Web, the paranoid /(wo)?man/ is: defined $1 ? "queen" : "king" ;.

Join the Perlmonks Setiathome Group or just go the the link and check out our stats.

  • Comment on (Ovid - yes, I think there is a security issue here) RE(6) directory list