Results 1 to 4 of 4

Thread: PHP Script encoding -- is it essential?

  1. #1

    Thread Starter
    New Member keats's Avatar
    Join Date
    Feb 2006
    Location
    India
    Posts
    15

    Question PHP Script encoding -- is it essential?

    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
    Keep Smiling!!

  2. #2
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099

    Re: PHP Script encoding -- is it essential?

    Firstly make sure the information is being sent over SSL. To make your script secure you need to verify and process any information that is being sent from the user to make sure that it is not being sent as an Injection attack Depending on how your going to use the creditcard infromation you should get mopre infromation fmor the bank. I know that Paypal has lots of documentry about how the information is to be stored and processed to enabled the best security for the user.

    The PHP code will be unavalible to anyone else so compiling or encoding the source would be an unnessesary step.

  3. #3

    Thread Starter
    New Member keats's Avatar
    Join Date
    Feb 2006
    Location
    India
    Posts
    15

    Re: PHP Script encoding -- is it essential?

    Thank u john...
    Keep Smiling!!

  4. #4
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: PHP Script encoding -- is it essential?

    Don't forget that the people viewing your page cannot see the PHP code, all that reaches the user is the output as a result of executing the code. Unless some kind of error causes the code to be dumped as text. However, you can limit the information in these files by including sensative code from other files.

    Services like Paypal provide API's which enable you to take payment online without ever seeing your customers credit card details. Many other merchant services alswo exist, which not only process the credit card info and validate it, but also provide a secure site which users can enter the info on.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width