*
The moose likes Java in General and the fly likes URL related Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "URL related " Watch "URL related " New topic
Author

URL related

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Hello,

http://127.0.0.1:7070/servlet/MyServlet?option=5
how can I make the above URL not understandable by the user e.g. http://www.domainName.com/ni/nilinks/nkr_links?open=sitemap&flag=mnr&con=b743905a4bc1c8ab3dfd82082c4b6b026cf3db3c54e6ba08?230932093ds990sdxc9ass

Thanks in anticipation
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
I mean how can I encrypt and then decrypt my URLs of the servlet to make hard to understand by the users?

Thanks again
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 7549
    
  18

Farakh khan wrote:I mean how can I encrypt and then decrypt my URLs of the servlet to make hard to understand by the users?

Do you mean how do you prevent a URL from being reused or copy/pasted? That's a bit different, and I believe there are a few methods.

I don't think there's any way of obfuscating the current URL in the browser window; but I could be wrong. Not an expert.

Winston


Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Winston Gutkowski wrote:
Do you mean how do you prevent a URL from being reused or copy/pasted? That's a bit different, and I believe there are a few methods.
Winston


Exactly I am looking for that.

Regards
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 7549
    
  18

Farakh khan wrote:Exactly I am looking for that.

Well this page suggests a couple of possibilities.
I suspect that the solution is likely to be HTTP/browser-based and not specific to Java.

Again, I could be wrong though. I'm no expert.

Winston
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Thanks its very useful link

Best regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: URL related
 
Similar Threads
Is anyone here 1337?
career focus!
utilize my skills, scjp,scwcd i can work for you online.
Play the Official ICC 2011 World Cup right in your browser in 3D.
Send sms from java application