Click to See Complete Forum and Search --> : PHP Script encoding -- is it essential?


keerthi
03-06-2006, 12:02 AM
Hi

I am doing credit card number encyption in my code(functions.php) .anyway i should make it secured from crackers. plz suggest me an apt way to make my application secured...

I thought if this code can be encoded..but it should be compiled at runtime.
This file shouldnot be viewed by outsiders.

plz help..


keats

Sheldon
03-06-2006, 12:32 AM
https! make sure you have an ssl cert before doing anything with credit cards!

keerthi
03-06-2006, 12:45 AM
Ya i have used ssl cert.thanks..is there anyother way

Mau
03-06-2006, 02:17 AM
You do not need to encode the PHP scripts. Just make sure that your server is secure and that there are no vulnerable scripts.

You should use SSL however.

NogDog
03-06-2006, 03:16 AM
While I'm not clear on what you're doing with the numbers, you can store your include files in directories which are not within the web- or ftp-accessible directories of your site (i.e., not under the public_html or public_ftp directories). As long as the user under which your web server runs PHP scripts has read access on those directories, you can still include them into scripts.

bokeh
03-06-2006, 03:22 AM
Also if you are on a shared server don't hold any sensitive data in a session. Session data is accessible by all users of the server.