Re: [S2] actions responding only to POST/GET methods

2013-06-18 Thread Dave Newton
anks! > > > > -- > View this message in context: > http://struts.1045723.n5.nabble.com/S2-actions-responding-only-to-POST-GET-methods-tp3486750p5712797.html > Sent from the Struts - User mailing list archive at Nabble.com. > > ---

Re: [S2] actions responding only to POST/GET methods

2013-06-18 Thread jag
Hello everyone! I am using Struts 1.1 and I wish to know what's the better solution to force the POST method (without GET). I need avoid CSRF attacks. Thanks! -- View this message in context: http://struts.1045723.n5.nabble.com/S2-actions-responding-only-to-POST-GET-methods-tp3486750p57

Re: [S2] actions responding only to POST/GET methods

2008-10-29 Thread Wes Wannemacher
I guess I assumed that any Login (or any sensitive information) action would be secured with SSL. If you have an SSL connection between you and your server, any packets sniffed would at least be encrypted. The URL would probably still show up in a log somewhere, which makes GET requests over SSL so

Re: [S2] actions responding only to POST/GET methods

2008-10-29 Thread Paweł Wielgus
Hi Wes, thanks for the response, i've been wondering myself where would be any difference, but couldn't find any, from the server point of view. Still the proxies logs are a real threat. If some one else is reading it, don't think that POST is secure, one can sniff anything from post. Best greetin

Re: [S2] actions responding only to POST/GET methods

2008-10-29 Thread Wes Wannemacher
On a get request, the password would be present in the URL - http://localhost:8080/yourApp/Login.action?username=username&password=yourpassword This is probably not a *huge* deal, but there are places where requests might be logged... Proxy servers, etc. -Wes 2008/10/29 Paweł Wielgus <[EMAIL PR

Re: [S2] actions responding only to POST/GET methods

2008-10-29 Thread Paweł Wielgus
Hi Hernán, > Of course, you should never use GET when submitting a password, but that's a > privacy concern you (developer) just deal when writing your jsp. could You elaborate more about the reason why? Best greetings, Paweł Wielgus.

Re: [S2] actions responding only to POST/GET methods

2008-10-28 Thread esemba
-- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--actions-responding-only-to-POST-GET-methods-tp20200721p20215043.html Sent fr

Re: [S2] actions responding only to POST/GET methods

2008-10-28 Thread hernan gonzalez
Don is right. No security issue here (and absolutely nothing to do with PHP's register_globals). I see little use in trying to discriminate between GET and POST in the action side, at least not in relation with security. Of course, you should never use GET when submitting a password, but that's a p

Re: [S2] actions responding only to POST/GET methods

2008-10-28 Thread Don Brown
oblem" didn't return any reasonable > threads. > > Thank you for your suggestions. > -- > View this message in context: > http://www.nabble.com/-S2--actions-responding-only-to-POST-GET-methods-tp20200721p20200721.html > Sent from the Struts - User mailing list archive at

Re: [S2] actions responding only to POST/GET methods

2008-10-28 Thread esemba
bles the same way and in newer versions is >> >> deprectated, >> >> or even not present). Even in servlets there are methods like doPost, >> >> doGet, >> >> doXXX, so you can distinguish servlet's behavior for different types >> of >> &

Re: [S2] actions responding only to POST/GET methods

2008-10-27 Thread Mead Lai
t; doXXX, so you can distinguish servlet's behavior for different types of > >> requests. I'm pretty sure this has already been solved here, but search > >> for > >> keywords like "get post method problem" didn't return any reasonable > >> thr

Re: [S2] actions responding only to POST/GET methods

2008-10-27 Thread esemba
m the Struts - User mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > BestRegards, >

Re: [S2] actions responding only to POST/GET methods

2008-10-27 Thread Mead Lai
of > requests. I'm pretty sure this has already been solved here, but search for > keywords like "get post method problem" didn't return any reasonable > threads. > > Thank you for your suggestions. > -- > View this message in context: > http://www.nabble

[S2] actions responding only to POST/GET methods

2008-10-27 Thread esemba
-- View this message in context: http://www.nabble.com/-S2--actions-responding-only-to-POST-GET-methods-tp20200721p20200721.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PRO