in reply to Re^4: Answer: How do I find the type of an image?
in thread How do I find the type of an image?

And I will skip answering any more replays to this node.

...thats ok,... i will just finish by saying on a properly configured linux system, it's not a problem..... all that will happen is that errors will be thrown if someone tries a file masquerade.

Every linux distro i've seen, always puts files into your filesystem with a 0644 permission, and you need to chmod it to get it to even get it attempted to be executed by the kernel

And if someone tries to slip a malicious binary into a file named as an image, only errors will be thrown when your Desktop(or whatever) tries to open it.....you will get "wrong header or not a correct filetype" errors

Of course, that does not prevent people from shooting themselves in the foot..... anyone can get a malicious file , chmod it +e, and execute it..... thats why they train people to use computers, to avoid those obvious errors ..... the only protection from those idiots is to give them their own sandbox... called a home directory.

And always compile your own from source code.... don't trust RPM's or canned pre-compiled code, unless you have no choice


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku
  • Comment on Re^5: Answer: How do I find the type of an image?