ApplicationBlocksSecure

所属分类:Windows CE
开发工具:Visual Basic
文件大小:93KB
下载次数:2
上传日期:2010-12-02 14:12:37
上 传 者alonger
说明:  ApplicationBlocksSecure for Windows CE by VB

文件列表:
ApplicationBlocksSecure (0, 2008-10-28)
ApplicationBlocksSecure\ApplicationBlocksSecure (0, 2008-10-28)
ApplicationBlocksSecure\ApplicationBlocksSecure\app.config (2596, 2007-01-18)
ApplicationBlocksSecure\ApplicationBlocksSecure\AppDatabase.sdf (106496, 2007-04-17)
ApplicationBlocksSecure\ApplicationBlocksSecure\AppDatabaseDataSet.Designer.vb (33595, 2007-04-17)
ApplicationBlocksSecure\ApplicationBlocksSecure\AppDatabaseDataSet.xsc (1153, 2007-04-17)
ApplicationBlocksSecure\ApplicationBlocksSecure\AppDatabaseDataSet.xsd (7069, 2007-04-17)
ApplicationBlocksSecure\ApplicationBlocksSecure\AppDatabaseDataSet.xss (3, 2007-04-17)
ApplicationBlocksSecure\ApplicationBlocksSecure\ApplicationBlocksSecure.vbproj (7523, 2007-04-28)
ApplicationBlocksSecure\ApplicationBlocksSecure\Form1.Designer.vb (3817, 2007-04-17)
ApplicationBlocksSecure\ApplicationBlocksSecure\Form1.resx (6926, 2007-04-17)
ApplicationBlocksSecure\ApplicationBlocksSecure\Form1.vb (1524, 2007-04-17)
ApplicationBlocksSecure\ApplicationBlocksSecure\LoginForm.Designer.vb (4285, 2007-04-17)
ApplicationBlocksSecure\ApplicationBlocksSecure\LoginForm.resx (6300, 2007-04-17)
ApplicationBlocksSecure\ApplicationBlocksSecure\LoginForm.vb (4494, 2007-04-17)
ApplicationBlocksSecure\ApplicationBlocksSecure\My Project (0, 2008-10-28)
ApplicationBlocksSecure\ApplicationBlocksSecure\My Project\AssemblyInfo.vb (1189, 2007-04-17)
ApplicationBlocksSecure\ApplicationBlocksSecure\My Project\Resources.Designer.vb (2518, 2007-04-17)
ApplicationBlocksSecure\ApplicationBlocksSecure\My Project\Resources.resx (5618, 2005-09-22)
ApplicationBlocksSecure\ApplicationBlocksSecure\SystemSettingsSection.vb (1429, 2007-04-17)
ApplicationBlocksSecure\ApplicationBlocksSecure\Users.xml (644, 2007-01-18)
ApplicationBlocksSecure\ApplicationBlocksSecure.sln (4795, 2007-04-17)
ApplicationBlocksSecure\UserTokens (0, 2008-10-28)
ApplicationBlocksSecure\UserTokens\Form1.Designer.vb (4760, 2007-04-17)
ApplicationBlocksSecure\UserTokens\Form1.resx (6016, 2007-04-17)
ApplicationBlocksSecure\UserTokens\Form1.vb (1684, 2007-04-17)
ApplicationBlocksSecure\UserTokens\My Project (0, 2008-10-28)
ApplicationBlocksSecure\UserTokens\My Project\Application.Designer.vb (1512, 2007-04-17)
ApplicationBlocksSecure\UserTokens\My Project\Application.myapp (510, 2007-04-17)
ApplicationBlocksSecure\UserTokens\My Project\AssemblyInfo.vb (1173, 2007-04-17)
ApplicationBlocksSecure\UserTokens\My Project\Resources.Designer.vb (2797, 2007-04-17)
ApplicationBlocksSecure\UserTokens\My Project\Resources.resx (5612, 2006-12-01)
ApplicationBlocksSecure\UserTokens\My Project\Settings.Designer.vb (3039, 2007-04-17)
ApplicationBlocksSecure\UserTokens\My Project\Settings.settings (279, 2006-12-01)
ApplicationBlocksSecure\UserTokens\UserTokens.vbproj (4719, 2007-04-17)

ApplicationBlocksSecure Project Readme Microsoft Mobile Developers Handbook You must run ConfigSectionEncrypt program in this solution , which is a desktop application. In ConfigSectionEncrypt, note the Key shown at the top of the form - you will need it again! Use ConfigSectionEncrypt to encrypt the secion and the section and copy the encrypted sections into app.config. Now run the UserTokens program - again a desktop application. Use this to create a few users; copy the usernames and user tokens into the Users.xml file - see the existing file in the project for the corect XML structure. Go back to the ConfigSectionEncrypt program, enter the same usernames and passwords and press the Encrypt Key button to create an encrypted version of the master key for each user. Enter the EncryptedMasterKey for each user into the Users.xml file as well. Now you can run the device application. When you enter a correct username and password, you get access to the application and also the config files is decrypted, allowing the application to read the database password and the Endpoint configuration for the Web Service. To run this sample successfully in the emulator, make sure you use Device Emulator Manager to cradle the device, to ensure you can get connectivity to your network. See Chapter 4 for instructions on how to cradle the emulator.

近期下载者

相关文件


收藏者