• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

URL Encryption

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

Actully i want to know, how sites like myspace.com or yahoo etc uses this sort of encryption in URL:
http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&friendID=4603710&MyToken=dac1874-0c04-499e-8317-0312cdf38ee
http://us.f343.mail.yahoo.com/ym/login?.rand=a6fhagb4prut4

I also want to make my site URLs difficult to analyze and break. So that page and parameters are not disclosed.

I will be gratefull to any sort of help or suggestion.

Thanks a Lot!!
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think there is anything encrypted in these URLs. Those are just IDs for something or other, which probably are keys into a hash table on the server, where the actual information can be retrieved. The "MyToken" parameter looks like a session ID, which needs to be lengthy so that collisions are avoided and so that the user can't easily change a few characters and get another valid session ID.
If you simply want to obscure what's going on in your URL, a rot-13 cipher would probably suffice.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Salam aleykum

I am a c++ programmer new to Java

I think I have what u want

I have source code for sending to yahoo server to log in

execuse me if this is not what u want

write if u want that source

aksiii in yahoo com
vogidast
 
Well THAT's new! Comfort me, reliable tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic