You can choose to be asked to confirm the USB connection when connecting to a computer.
From the Home screen, tap the Menu Key > System settings > General tab > PC connection.
Checkmark the Ask upon connecting checkbox to display a USB selection window each time you connect your phone to a PC.