How can i encrypt my links so the download link can NEVER be found out?

Discussion in 'HTML & Website Design' started by awaisuk, Sep 14, 2007.

  1. #1
    How can i encrypt my links so the download link can NEVER be found out?

    Say i have a link : www.site.com/file.zip

    I want to encrypt it so people can never find out the exact link, but still be able to download it.

    How can i do it?
     
    awaisuk, Sep 14, 2007 IP
  2. Synchronium

    Synchronium Active Member

    Messages:
    463
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Redirect file.zip to a php script, which can check if you're logged in, or have the correct permissions. If so, it will serve your file, if not, it could display an error or redirect you to a login page.
     
    Synchronium, Sep 14, 2007 IP
  3. awaisuk

    awaisuk Banned

    Messages:
    1,013
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    How would i do that, any toturial?
     
    awaisuk, Sep 14, 2007 IP
  4. rcj662

    rcj662 Guest

    Messages:
    4,403
    Likes Received:
    97
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you just do not want them to be able to send url to others or have it listed on search engines then use some of the free sites that encryopt it for you and add the code they give you.

    If not try what Synchronium said.
     
    rcj662, Sep 14, 2007 IP
  5. Trusttec

    Trusttec Peon

    Messages:
    147
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you could try tinyurl im not sure if it will do exactly what you want but it will hide the url
     
    Trusttec, Sep 14, 2007 IP
  6. Synchronium

    Synchronium Active Member

    Messages:
    463
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    58
    #6
    Ok, things to look up:

    1) htacess & mod_rewrite
    2) serving content that's not text/html with php

    As for a tutorial, go look for one. This idea was just off the top of my head. I've never had to do it before, but if I was ever going to, this is probably the method I would chose.
     
    Synchronium, Sep 14, 2007 IP
  7. mastamindz

    mastamindz Peon

    Messages:
    162
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I've seen a few scripts on hotscripts.com, you may want to check there
     
    mastamindz, Sep 14, 2007 IP
  8. ashrafweb

    ashrafweb Member

    Messages:
    67
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #8
    programming is the solution
    not pure HTML!!
     
    ashrafweb, Sep 14, 2007 IP
  9. awaisuk

    awaisuk Banned

    Messages:
    1,013
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I dont know much about this, all i want to do is protect my links.

    Can someone tell me an easy solution?

    Google didnt help
     
    awaisuk, Sep 14, 2007 IP
  10. litebulb1

    litebulb1 Peon

    Messages:
    151
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I have a site that users can upload files to and download when needed. I used a php script to create a folder with a random name and then using a SQL database you can associate the random name with the actual name of the file.
     
    litebulb1, Sep 14, 2007 IP
  11. awaisuk

    awaisuk Banned

    Messages:
    1,013
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Can you guide me through?

    This is what i want:

    I upload a file to the server through ftp, lets say its www.site.com/file.zip

    I want the site name to be completely hidden, but at the same time the user can download off it.

    How can i do that?
     
    awaisuk, Sep 14, 2007 IP
  12. jred2002

    jred2002 Well-Known Member

    Messages:
    160
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #12
    It is not the ideal way to do it - but if you know nothing about programming then you could password protect a zip file - you could email the user the password to access it.
     
    jred2002, Sep 14, 2007 IP
  13. litebulb1

    litebulb1 Peon

    Messages:
    151
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #13
    are you trying to hide your URL or the zip files? if you are trying to protect the zip files you can download a php script that will allow users to register and then login into a password protected area where you can host the zip files.


    I would suggest the book 'PHP and MySQL for dynamic Websites'.
     
    litebulb1, Sep 14, 2007 IP
  14. adscience

    adscience Peon

    Messages:
    128
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    adscience, Sep 16, 2007 IP
  15. RRWH

    RRWH Active Member

    Messages:
    821
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    70
    #15
    Why does someone need a download link?

    The way I do it is to email the zip file to a provided address - that way I NEVER give out the actual script location, and besides, I keep the zip files in a location that is outside the webroot so they can never be downloaded from a link.
     
    RRWH, Sep 16, 2007 IP
  16. ram133

    ram133 Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    just to to: rstore DOT info SLASH members SLASH zxoowdrb3ybdr DOT html and paste your code into the top box, click step2 and step3. Presto! all done!
     
    ram133, Sep 20, 2007 IP
  17. sat123

    sat123 Banned

    Messages:
    1,600
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #17
    sat123, Oct 3, 2007 IP
  18. hexadesigns

    hexadesigns Peon

    Messages:
    350
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #18
    hexadesigns, Oct 7, 2007 IP