my dog learned polymorphism
The moose likes Servlets and the fly likes Using GET other than POST Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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: 14672
    
  11

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.


Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Using GET other than POST
 
Similar Threads
Help!
passing large data to a servlet
Disable Url
Logging out - POST or GET?
Ajax : when a large no. of form fields