• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to encrypt url ?

 
Venki Ananth
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a login button in "login.jsp". Whenever user click on login button then button will invoke "login_servlet" using "post" method.It is working properly. But if we mover cursor over the button we can able to see the "url" in status bar.Is there any way to encrypt url which appearing on status bar while we move cursor over the button!

Advance thanks!
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Venki R" please check your private messages for an important administrative matter. You can see them by clicking the My Private Messages link above.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But if we mover cursor over the button we can able to see the "url" in status bar.

If you are seeing the URL in the status bar, then its not a button.
And anyways why do you want to encrypt the URL? Others can still see the target of the URL.
 
Venki Ananth
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi amit,
Thanks!
Check this same site! move cursor over the "post new topic" button. we can see the url on status bar. Is there any way to encrypt/hide that.
 
Manuel Leiria
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Venki:
Hi amit,
Thanks!
Check this same site! move cursor over the "post new topic" button. we can see the url on status bar. Is there any way to encrypt/hide that.


As Amit said it's not a button but an image! And why do you want to encrypt that?
 
Venki Ananth
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Manuel !

Happy to get quick reply!!!

<form action="http://localhost:8080/project/message.jsp" method="post"><input type="submit" value="login"></form>

Please check this code on jsp ! We can able see the url!!! Here i just used absolute path we can do the same for relative path also! I dont want to let an endusers to know my servlet/jsp names.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unfortunately, your screen name still isn't OK. If you actually read the policy, you'll see that a first and a last name is required. Please fix that before your next post. Accounts without valid screen names are generally closed.

I dont want to let an endusers to know my servlet/jsp names.

There's nothing you can do to prevent the user from knowing where the form is submitted to. Anyone can look at the source of the page to determine where it's going to, even if the status bar doesn't show it.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which webbrowser are you using? This doesn't occur here in FF. Please don't say that you're using IE.
Originally posted by Venki:
I dont want to let an endusers to know my servlet/jsp names.
How about just viewing the page source?

This concern makes no sense.
 
Venki Ananth
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bauke Scholtz ,

Sorry m using IE !

How about just viewing the page source?


They can only view jsp/html page source.I used many servelts with "some names". But clients dont want me to show that names on browser ( Sudden changes happened). Changing servlets name is too tough now!!! Project is in deployment stage now! So any other way???
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Venki Ananth:

I used many servelts with "some names". But clients dont want me to show that names on browser ( Sudden changes happened). Changing servlets name is too tough now!!! Project is in deployment stage now! So any other way???


You can write a controller servlet, users will only see the mapped servlet name in the browser and you can send server side redirects without the user actually knowing which page is being rendered.

Hope this helps
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You dont have to write one if you dont want to. Look at the Frontman toolkit by some local guy.

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!