[FX.php List] Encrypting/decrypting in PHP
Malcolm Fitzgerald
malcolm at notyourhomework.net
Tue Sep 20 02:09:40 MDT 2011
The last time I did this I used a plugin but that was v5.
If you do use PHP be sure to check the security status of the version of PHP that is being used.
Malcolm
On 20/09/2011, at 1:23 AM, Bob Patin wrote:
> I have a client for whom I wrote a conference registration web app; the registrants reserve hotel rooms as part of their registration, and my client has to store their credit card numbers in order to pass them on to the hotel.
>
> I told my client that we need to encrypt the card numbers if we're going to store them in the database; I use a plugin to encrypt card numbers for my own use, but was wondering if any of you have a method for encryption/decryption that is all PHP-based.
>
> My first choice would be to encrypt in PHP, then write to FileMaker; then, using a plugin or whatever, give the client the ability to decrypt one or more records in the database itself.
>
> Failing that, I'd encrypt in PHP, write the encrypted string, then write a little web app to read back these records into PHP, decrypt there, and display the decrypted results on a PHP page.
>
> Anyone gone down this path before?
>
> Thanks,
>
> Bob Patin
> Longterm Solutions LLC
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> FileMaker 9, 10 & 11 Certified Developer
> Member of FileMaker Business Alliance and FileMaker TechNet
> --
> Twitter: bobpatin
> Google+: http://www.longtermsolutions.com/plus
> AIM: longterm1954
> iChat: bobpatin
> --
> Expert FileMaker Consulting
> FileMaker Hosting for all versions of FileMaker
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list