When my application will be burnt on CD there will be a folder of "Images" which will contain all the images used in my application. So can I encrypt the whole folder and decrypt it on the system at run time so no one can able to copy the images? Does anyone have code or some other way?
Thanks in advance,
Anita
Can't imagine life without VB
(Various Boyfriends)
Originally posted by plenderj Write an algorithm to pack all files in a directory into the one single large file.
Then just encrypt the file.
Thanks Plenderj,
But i'm not good at such things. Even i don't know how to pack all these files in a single file?
Can anyone provide me such code or alogorithm?
Please help.
Anita
Can't imagine life without VB
(Various Boyfriends)
Well there's no specific way of doing it.
Easiest thing to do would be to use Winzip to zip up the entire directory, make a self extracting executable, then compress that.
Pretty much so the same thing, except the winzip way's easier
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
Originally posted by plenderj Well there's no specific way of doing it.
Easiest thing to do would be to use Winzip to zip up the entire directory, make a self extracting executable, then compress that.
Pretty much so the same thing, except the winzip way's easier
Thanks plenderj,
But i want that the user can't access the images which i wll burn
on my CD with my application. If i make the self extracting with winzip, the user can easily extract it and get the images. So is there any other way with which i can encrypt the folder of "Images" and decrypt that folder a runtime at some remote location on the users PC? So that i can delete the folder programatically when the user closes my application.
Is it possible?
help....
Anita
Can't imagine life without VB
(Various Boyfriends)
for what plenderj said you could add a password to the zip file thats really long and random, like "h3 k2 4 k gj 3k 45 n g n3j k 4" . and since there is no other way to crack winzip files other than brute force it should be good enough.
and you can't change folders like files. windows will give you an 'Access is Denied'
Remember, if someone's post was not helpful, you can always rate their post negatively .
Originally posted by BuggyProgrammer for what plenderj said you could add a password to the zip file thats really long and random, like "h3 k2 4 k gj 3k 45 n g n3j k 4" . and since there is no other way to crack winzip files other than brute force it should be good enough.
and you can't change folders like files. windows will give you an 'Access is Denied'
Thanks BuggyProgrammer,
But r u sure that i can't acces or interfere folders in windows? I think most of the softwares extract their files in "c:\windows\temp " what do u think?
Anyone please corect me if i'm worng.
Well..i can make the zip file of Images. But can anyone tell me
how can i extract the winzip file having password programatically from vb?
help.....
Anita
Can't imagine life without VB
(Various Boyfriends)
if i am not mistaken what anita is looking for is to avoid the user to copy or may be access those gif... but is the app going to access the gif... any loading using gif98...something
However, if you want a foolproof way to prevent your images from being copied by anyone, including authorized users of your application, there really is no method that can't be bypassed. Any image on the screen can be captured, so if you are displaying the images, then they can be copied. Perhaps a more detailed explanation of exactly what you are trying to prevent as well as the level of technical expertise of the users of your software might be helpful. We might then suggest a method that would work for most cases.