aspose file tools*
The moose likes Servlets and the fly likes Using GET other than POST Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Using GET other than POST" Watch "Using GET other than POST" New topic
Author

Using GET other than POST

Thiwanka Somasiri
Greenhorn

Joined: Apr 05, 2009
Posts: 3
Normally we use GET rather than POST, because of password exposing case in the address bar. But I have heard that it can be hacked although we use the POST method. How to do that?
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Normally we use GET rather than POST, because of password exposing case in the address bar.

That's the other way around. Using GET will show the request parameters in the address bar.

I have heard that it can be hacked although we use the POST method. How to do that?

Not a SCWCD topic. Moving to the servlet forum.


[My Blog]
All roads lead to JavaRanch
ken zhu
Greenhorn

Joined: Apr 09, 2009
Posts: 20
Thiwanka Somasiri wrote:But I have heard that it can be hacked although we use the POST method. How to do that?


for sensitive data posted, you can use HTTPS(HTTP+SSL) way or encrypt data to avoid got by the third party.
else you don't need care this.
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
One can install a sniffer in the network between the both machines and read all sent/received bytes. In for example a proxy, firewall, router or even your own machine. SSL encrypts those bytes before sending and decrypts them before reading.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using GET other than POST
 
Similar Threads
Ajax : when a large no. of form fields
Disable Url
Help!
passing large data to a servlet
Logging out - POST or GET?