hide urls in script

Discussion in 'JavaScript' started by raymond222, Aug 22, 2008.

  1. #1
    Hey guys!

    After installing some flash&javascript audio players on my website I see the source file url's can be seen in the page source(by just pressing view->source) Since the player is configured through javascript variables including the location of audio

    I'd like to know if there is a way to encyrpt these urls. I know it's possible to encyrpt the whole page with the right software, but is there any trick to masking these?

    Thank you very much!
     
    raymond222, Aug 22, 2008 IP
  2. raymond222

    raymond222 Active Member

    Messages:
    287
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #2
    anyone please?
     
    raymond222, Aug 22, 2008 IP
  3. hip_hop_x

    hip_hop_x Active Member

    Messages:
    522
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    90
    #3
    you can encrypt even a smaller part from a page, but it can be decoded. There is no solution, you can only hide it, but smart ones will find a way to see it.
     
    hip_hop_x, Aug 22, 2008 IP
  4. ghprod

    ghprod Active Member

    Messages:
    1,010
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    78
    #4
    i agree with u :p
     
    ghprod, Aug 22, 2008 IP
  5. GreatMetro

    GreatMetro Peon

    Messages:
    117
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm pretty sure there is a way to put the audio files in a private section of your webserver, and set the permissions so only the script can access them, and they cannot be accessed directly.

    Google it.

    Good luck
     
    GreatMetro, Aug 22, 2008 IP
    viitols likes this.
  6. raymond222

    raymond222 Active Member

    Messages:
    287
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #6
    Interesting idea, thanks!
    Could it be chmod 0100 ?
    I'm still searching for a way to hide it...
     
    raymond222, Aug 22, 2008 IP
  7. ghprod

    ghprod Active Member

    Messages:
    1,010
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    78
    #7
    Maybe with PHP & SQL .... like

    But sometimes . it still can download by cache data :p
     
    ghprod, Aug 23, 2008 IP