Opening passworded windows files

closed account (NUj6URfi)
You can set passwords on windows files so how can you create a program to open those files? I have the password and the reason is so that I can have files that my program can access but other people can't.
closed account (Dy7SLyTq)
google encryption and decryption tutorials
closed account (NUj6URfi)
I looked for what you said. Found nothing. Trying to use SDL to load images, which I am doing, yet I want to passwords the .jpgs and still load them through SDL.
closed account (NUj6URfi)
Bump.
closed account (NUj6URfi)
Bump.
you can create zip files with passwort protection.


Take a look at
http://www.7-zip.org/sdk.html
closed account (Dy7SLyTq)
well encrypting images is a little bit different than encrypting txt files. i think what you would have to do is open it in like fstream, flip the bytes ie http://www.cplusplus.com/articles/Ly86b7Xj/ (i dont know if that would actually work though) save it back to your own file format, when you need it again load the picture in sdl by unencrypting it
Topic archived. No new replies allowed.