Before you deploy your application, you should test the application in secure mode.
By default, the BlackBerry Smartphone Simulator has two features that an make it easy to use but that are not found on the BlackBerry device. The simulator does not check for required code signatures on applications and it does not prompt you before connecting to the network. You can disable those features by running the BlackBerry Smartphone Simulator in secure mode.
When you enable BlackBerry Smartphone Simulator secure mode, you cannot use the .cod files that come with the BlackBerry Smartphone Simulator. You must use the .cod files that are installed on the BlackBerry device. To obtain the appropriate .cod files, you can copy BlackBerry device .cod files from your computer to the BlackBerry Smartphone Simulator installation folder.
By default, the location of the installation folder is: C:\Program Files\Common Files\Research In Motion\Shared\Loader Files\<Handheld>\Java.