Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cryptor 5.0, by Xitech
Message
De
17/08/2007 11:45:48
 
 
À
17/08/2007 10:04:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01245064
Message ID:
01248788
Vues:
190
Hi Jos,

This is a bit out of topic for this thread.

Is Cryptor still supported?

If not do you still recommend it?

Are there interesting alternatives?


>>Hi Jos,
>>
>>I'm able now to encrypt and decrypt tables on my Vista home, however, when I run my application from the EXE, and I register the encrypted files, the problem that I have is that the tables are not de-crypted in the memory. So when I type into the tables, garbage is typed.
>>
>>Can you please email me or post, a completed A to Z example from "CREATEOBJECT("XitechCryptor.Cryptor")" up to "XiCr.Register" method so that I can compare it with mine and see what I have done wrong. I have tried every thing I can and I realy need your help.
>>
>>
>>Thanks
>>
>>Bob
>
>Bob,
>
>I have this as an example program of what I do in my main app (no error checking / trapping code):
>
>
>
>*    Create an instance of Cryptor
>
>PUBLIC TOBJ_CRYPTOR  && Cryptor instance must exist during lifetime of my app
>
>TOBJ_CRYPTOR = CREATEOBJECT( "XitechCryptor.Cryptor" )
>
>*    Set Cryptor Settings
>
>TOBJ_CRYPTOR.BACKUPMODE =  1
>TOBJ_CRYPTOR.DEEP       = .F.
>TOBJ_CRYPTOR.DYNAMIC    = .F.
>
>*    Set which dlls to watch for
>
>TOBJ_CRYPTOR.WATCHDLL( "VFP9.EXE" )
>TOBJ_CRYPTOR.WATCHDLL( "VFP9R.DLL" ) 	
>TOBJ_CRYPTOR.WATCHDLL( "VFP9T.DLL" ) 	
>
>*    Setup which tables/files Cryptor should watch for i.e. files I have already previously encrypted
>
>TOBJ_CRYPTOR.REGISTER( "My_File_1.dbf"  , "Password", 0 )
>TOBJ_CRYPTOR.REGISTER( "My_File_2.dbf"  , "Password", 0 )
>TOBJ_CRYPTOR.REGISTER( "My_Wild_Card.*" , "Password", 0 )
>
>
>
>Then to encrypt or decrypt a file(s) I would use code like the following. You would do this only once either to encrypt the file or decrypt. You would not do this in your app. You would encrypt the file and supply it in its encrypted form to your user. Your app would use code similar to the above to decrypt/encrypt the file on the fly as it gets read/written to/from the disk.
>
>
>*    Example of encrypting / decrypting a file
>
>*    TO ENCRYPT A FILE - Only do this once.
>
>? TOBJ_CRYPTOR.EncodeFile( "C:\My Folder\My_File_1.dbf", "Password", 0 )
>
>*    TO DECRYPT A FILE - Only do this once.
>
>? TOBJ_CRYPTOR.DecodeFile( "C:\My Folder\My_File_1.dbf", "Password", 0 )
>
>
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform