Encrypt URL-Address

Discussion in 'PHP' started by neomotive, Jan 8, 2010.

  1. #1
    I have such problem: in my site for clients will be returned (after he will pay) result page in which he should input personal information. It is page my product and the client should not see its URL-address. What functions i can apply and how to do so that the URL-address will be not visible (or will be encrypted).
     
    neomotive, Jan 8, 2010 IP
  2. fierceservers

    fierceservers Peon

    Messages:
    338
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There is no way to really mask the URL unless you setup Apache to run a proxy, "proxypass". In this way you can somewhat mask the URL, but you would need to contact your host to allow such thing, if they even will.

    Otherwise, you can encrypt the data that is passed through using SSL, so you would need to buy an SSL certificate for your domain and set it up, however this does not "encrypt" the actual URL or change the URL in any way as this should be publicly visible.
     
    fierceservers, Jan 8, 2010 IP
  3. iAreCow

    iAreCow Peon

    Messages:
    85
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #3
    After paying by PayPal?
    You could use the Unique Transaction ID posted along with Back to merchant button, then check if its valid with IPN and check if the transaction took place in the last 5 minutes and if it hasn't already been used in your system, if everything looks correct, show the page and log the ID (so same ID cannot be used twice during that 5 minutes)
     
    iAreCow, Jan 8, 2010 IP
  4. baris22

    baris22 Active Member

    Messages:
    543
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #4
    baris22, Jan 8, 2010 IP
  5. iAreCow

    iAreCow Peon

    Messages:
    85
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #5
    @baris22
    Smells like base64 here.
     
    iAreCow, Jan 8, 2010 IP