When an Autoopen file has been detected and the user has confirmed that the file indicated in the Autoopen file should be opened then the file indicated in the Autoopen file MUST be opened in the application normally preferred by the user for files of its kind UNLESS the user instructed otherwise. -- Desktop Application Autostart Specification

LINUX IS NOT WINDOWS

Let's take a bad idea that's caused all kinds of trouble for Microsoft, and occasional problems for Apple, and introduce it to Linux.

Here, let me fix that document (changes in italics):

When a new medium is mounted the root directory of the medium may be checked for the following Autostart files in order of precendence: .autorun, autorun, autorun.sh Only the first file that is present should be considered.

The desktop environment MUST ignore Autostart files altogether unless autostart is permitted in the policy set by the user, system administrator or vendor, and the user has enabled it.

The desktop environment MUST prompt the user for confirmation before automatically starting an application. This prompt MUST NOT appear or function similarly to any other prompt provided by the system. The default action for this prompt MUST be to disable Autostart.

[...]

When an Autoopen file has been detected and the user has confirmed that the file indicated in the Autoopen file should be opened then the file indicated in the Autoopen file MUST be opened in an application specifically designated for opening untrusted documents, if and only if one is available. If the application normally preferred by the user for files of its kind is so designated, then it MUST be used UNLESS the user instructed otherwise.

IO
Lynx-enhanced by <peter at taronga.com> (Peter da Silva) Get Firefox - The Browser Reloaded