none
Encrypt file on Windows CE RRS feed

All replies

  • This feature is specific to Windows Mobile, and is not included in Windows Embedded CE 6.0.  You can use the Cryptography APIs to encrypt the contents of the file yourself before you write them to the flash, or, if you want this type of on-the-fly encryption for an entire volume, you will need an encrypting file system filter.  There are some third party solutions available (e.g. http://www.aikosolutions.com/products/secubox-for-windows-ce/).

    Edit: If you want to look at creating your own encrypting file system filter, you can look at the code in %_WINCEROOT%\PUBLIC\COMMON\OAK\DRIVERS\FSD\ENCFILT\.


    Tom Gensel PTG Systems, LLC
    http://www.ptgsystems.com

    • Proposed as answer by Michael Koster Monday, January 31, 2011 9:33 AM
    Thursday, January 27, 2011 8:51 PM
  • In fact, the WM also use the similar Encryption Filter as Tom mentioned but with an enable/disable UI in control panel.
    To enable this feature, you need to add SYSGEN_ENCFILT and relative registry settings.
    For more info, refer to http://msdn.microsoft.com/en-us/library/ee490033.aspx

    • Proposed as answer by Michael Koster Monday, January 31, 2011 9:33 AM
    Friday, January 28, 2011 12:32 AM
  • do you need user-proof, or hacker/expert-proof ?
    Encryption can be as simple as x-oring with a password in a circular manner, requiring no extra OS components.
    But an expert will have little trouble figuring this out from a big enough data-set.
    For a regular user this might be enough, depending on your requirements.

    Kind regards,
    Rob
    www.robtso.nl




    Monday, January 31, 2011 9:16 AM