Secure storage
-
Chona1171 wrote:
I cannot retrieve the image in any way to a image object in the programming code so I need to save it to disk before i can load it into an Image object to convert the minutiae template between different vendor types.
How does the API return the image?
Chona1171 wrote:
So I need to know is there a way I can eitherCreate a folder, storage space I can save to that only my Assembly can access.orCreate a virtual drive that encrypts data that gets written into it.orCreate a folder that requires a password to access it (which I can parse through my program).
SqlCe or SqlExpress, using a blob-field. Or use the encryption-routines that come with .NET.
I are Troll :suss:
-
harold aptroot wrote:
surely the OP would have thought of them..
Assumptions, my dear Watson :) ..I don't expect that the API will save directly to a blob, I'd expect one to get an array of bytes. And yes, those could be securely stored in a blob.
I are Troll :suss:
-
The law requires any and all personal information of an employee that gets saved to disk (id numbers, details ect) needs to be encrypted, or protected In Europe the law currently states that it includes fingerprints, and soon it will be law here in SA. Now my problem is when the image gets saved to the disk it gets saved as a clear image hence the fact that i need to save it somewhere where no one via the windows shell or dos can get a hold of it even for that split second before it gets pulled back up in memory(Using the Image object i need) and deleted from disk Chona1171 Web Developer (C#), Silverlight
-
Isolated storage requires me to have the image allready loaded to an object and then to convert it to a byte array. My main problem is that the 3rd party API only allows me to get the image by storing it in a directory. Chona1171 Web Developer (C#), Silverlight
-
the only way it returns an image is a save command with only 1 overload allowing me to save the file to a path. Chona1171 Web Developer (C#), Silverlight
-
The law requires any and all personal information of an employee that gets saved to disk (id numbers, details ect) needs to be encrypted, or protected In Europe the law currently states that it includes fingerprints, and soon it will be law here in SA. Now my problem is when the image gets saved to the disk it gets saved as a clear image hence the fact that i need to save it somewhere where no one via the windows shell or dos can get a hold of it even for that split second before it gets pulled back up in memory(Using the Image object i need) and deleted from disk Chona1171 Web Developer (C#), Silverlight
-
if you have the image as a byte array, there are at least two Bitmap constructors that might help you: 1. one takes a stream, any stream, so store the bytes in a MemoryStream and take it from there (don't forget to "rewind" your stream, i.e. position it at zero after writing it) 2. another takes an IntPtr to the raw data. This needs unsafe code, and/or fixed, and/or GCHandle. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
Thank you for all your help I was able to retrieve the raw data, though i had trouble could not use a memory stream to write it into an image field i had to take the image loop through the byte array which will be the same length as the width and height of the acquired image maye a 2D loop and take the byte array and read it back as a color onto a bitmap . That solved my problem Though thanks for all the posts and all the help, the Truecrypt example will be usefull to me in other application i am developing and the named pipes solution is also one i will consider. Thanx to all Chona1171 Web Developer (C#), Silverlight