aspose file tools*
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
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: 726
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: 726
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: 7064
    
  16

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?
Artlicles by Winston can be found here
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 726
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: 7064
    
  16

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: 726
Thanks its very useful link

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