Buying PHP Hotlink Protection

Discussion in 'Programming' started by bunbunx2, Jun 17, 2010.

  1. #1
    I wanna hire anyone who can help me safeguard my php file. Means my php file can only be execute on certain domain.

    Means my REMOTE SERVER B e.g myfile.php can only be execute from e.g AuthorizeDomain.com
    IF it is call by blank referrer or direct call , it will be showing forbidden 403 or access deny.

    I know about referrer check and HTTP_SERVER but it doesn't work.

    Let me know if you got any way to protect php file.

    Offer : $30 USD Paypal

    Send me your solution and i will try it out. Do not pm me tell me what your qualification or what experience you have, any one who can solve the solution are free to send me your solution via p.m

    Thanks

    Maybe something like Public Key and Private Key might works but i not sure how to do it on php.

    My scenario is like

    Remote Server got a Download Script
    Main Server got a script call Remote Server

    Only main server can call remote server.

    Any user who enter the path of remote server will not be able to run the script too.
     
    bunbunx2, Jun 17, 2010 IP
  2. rajamanickam.a

    rajamanickam.a Well-Known Member

    Messages:
    636
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    158
    Digital Goods:
    2
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    What error you are facing when trying to use HTTP_REFERRER?
     
    rajamanickam.a, Jun 17, 2010 IP
  3. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    As Seller:
    100% - 0
    As Buyer:
    100% - 2
    #3
    HTTP_REFERRER cannot be trusted. You can spoof it really easy.
     
    stephan2307, Jun 17, 2010 IP
  4. ryandanielt

    ryandanielt Well-Known Member

    Messages:
    1,797
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    185
    As Seller:
    100% - 2
    As Buyer:
    100% - 0
    #4
    I think I have a great solution for you :) hit me up and I will try to throw together an example right now!!
     
    ryandanielt, Jun 17, 2010 IP
  5. ngcoders

    ngcoders Active Member

    Messages:
    206
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    I think i had offered you a solution , regarding ip based locking ... you never responded and asked for HTTP_REFERRER method. Was the ip based locking method not ok ?
     
    ngcoders, Jun 17, 2010 IP