From http://askubuntu.com/questions/89244/how-to-disable-automount-in-nautiluss-preferences
To disable Nautilus automount use this command in a terminal
gsettings set org.gnome.desktop.media-handling automount false
To enable it again open a terminal and use this command
gsettings set org.gnome.desktop.media-handling automount true