PDA

View Full Version : crypto?



mediaSVI
07-17-2006, 11:07 PM
What is this used for?

Can I use this to stop people from opening a folder, but yet the Autoplay program can open the folder?

Roboblue
07-18-2006, 08:51 AM
Its for encrypting files, not folders.
It has several encryption routines to include 256 bit blowfish.
Very useful for hiding serial numbers and other info that AMS can use on the fly.
It still decrypts to a hard drive directory, but you can delete the unencrypted file at will without deleting the original encrypted file (for instance, after you have used it to write to a variable, immediately delete the temp file). You can also encrypt User interactive files after they are changed to store them for later use.
And much more....

mediaSVI
07-18-2006, 12:43 PM
Ok. Say I lockup my video folder that all the videos are in on this DVD I am trying to make. Can we get AP to have the key to open the folder to access the videos and play them. In other words only AP has the key to open the folder when needed.

Now if someone explores my DVD and trys to open my video folder they can't.

I just want to make it harder to get to my videos, sure you can copy the dvd, but it will be much harder to get the individule videos.

Can this be done?

Thanks.

Brett
07-18-2006, 12:45 PM
It is not really possible to "lock a folder" with AMS60. The only method AMS60 could offer on its own is to encrypt the video files using the blowfish encryption action. Then when the user wants to access the video, decrypt it to the hard drive temporarily and then run it from there. Then on shutdown of the app delete the temporary video file(s).

mediaSVI
07-18-2006, 07:46 PM
It is not really possible to "lock a folder" with AMS60. The only method AMS60 could offer on its own is to encrypt the video files using the blowfish encryption action. Then when the user wants to access the video, decrypt it to the hard drive temporarily and then run it from there. Then on shutdown of the app delete the temporary video file(s).


That would do it! So if the user opened the video folder they would not be able to open the video? Only buy using the app would the video run? If so please give me the code to do this.....I am code dumb..:o

mediaSVI
07-19-2006, 06:09 PM
TTT

Help me do this to my DVD...PLEASE!

Bruce
07-19-2006, 09:05 PM
Maybe truecrypt (http://www.truecrypt.org/)

mediaSVI
07-20-2006, 09:13 AM
Maybe truecrypt (http://www.truecrypt.org/)


Thanks but thats not what I need.

All I want is to be able to luck up the video folder, only the app will have excess to it. I want to stop users from opening the folder as much as I can.

Brett
07-20-2006, 09:26 AM
You will need to look into the Crypto and File actions to achieve this. There is documentation in the help files. The basic steps are:

1. Make an AMS60 app that will let you take a file and then use blowfish encryption to encrypt the file with a password.
2. Take the encrypted video and put it into your Docs folder in the project you want to use it form.
3. In the project when the user wants to see the video use the Crypto actions to decrypt the file to a temporary location.
4. Use the Video actions to load the decrypted video and play it.
5. On shutdown, delete the decrypted file.

mediaSVI
07-20-2006, 01:17 PM
You will need to look into the Crypto and File actions to achieve this. There is documentation in the help files. The basic steps are:

1. Make an AMS60 app that will let you take a file and then use blowfish encryption to encrypt the file with a password.
2. Take the encrypted video and put it into your Docs folder in the project you want to use it form.
3. In the project when the user wants to see the video use the Crypto actions to decrypt the file to a temporary location.
4. Use the Video actions to load the decrypted video and play it.
5. On shutdown, delete the decrypted file.

Ok made app to encrypt files. I got my app to decrypted the video to a file.

I can't figure out how to make the video play? Also is the deleted file just goes to end up in the trash bin or is it going to be gone?

OnClick line 1: decryptes video to folder, that works fine.
Line 2: I choose script to load video.

Video.Load(myfile.avi, "C:\\foldername\\foldername\\myfile.avi", true, false);

This does not work?

Help...