You can choose to be asked to confirm the USB connection when connecting to a computer.
When Ask on connection is checkmarked, the USB selection dialog box is displayed when the USB Cable is connected to the phone and computer.