Re: Why file content sniffing sucks



Quoted by a cadre of sexy rats
For `Ingo Ruhnke <grumbel gmx de>' 
On Friday, 26 December 2003 (14:37):

>  > "my-sexy-picture.jpg"
>  >
>  > Hmmm, dunno, dunno, oh jpg...whoops, no, it was an executable trojan
>  > renamed to a jpg to trick me into running it.
> 
>  Guess on the suffix and open it in an image viewer, I don't see the
>  problem. The only really brokenness of windows is that it hides
>  suffixes at default, which is really evil.

	An idea would be, when opening the file, do the check based on content, and, if
they differ, warn the user. If not, just open the file with the appropriate
viewer/editor/whatever.

	Speed is one of the reasons I don't use nautilus, too. I prefer rox [1], as it
does the job and is pretty fast (at least on my machine, an Intel Pentium II
400MHz, 256M of RAM and a 5200RPM hard disk).

	[1] http://rox.sf.net

-- 

 Leandro Pereira              (oO)           <leandro linuxmag com br>
                              /||\                  www.mindcrisis.tk

          "Ás vezes você está discutindo com um imbecil...
                  e ele também." --Millôr Fernandes




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]