Re: Torque and SQL Injection
Adrian Paleacu <[email protected]> Mon, 8 Aug 2011 14:58:55 +0300
| Newsgroups | gmane.comp.jakarta.turbine.torque.user |
|---|---|
| Message-ID | <CAFnrDa2hOZk+AUedFOej5SS55M6hPhq=thRpN3j+hQFcP5PZ1A@mail.gmail.com> |
--bcaec5540a66f36ce304a9fd2b54 Content-Type: text/plain; charset=ISO-8859-1 Hi Thomas, Torque 3.2 also implements SqlExpression.quoteAndEscapeText Regards, Adrian On Fri, Aug 5, 2011 at 5:22 PM, Thomas Fox <[email protected]> wrote: > Torque 3.3 escapes Strings in Queries(see method > org.apache.torque.util.SqlExpression.quoteAndEscapeText(String, DB)), so > SQL injection should not be a problem. > The current Torque 4 trunk uses Prepared statements throughout, which is > probably even better. > > Thomas > > Adrian Paleacu <[email protected]> schrieb am 05.08.2011 16:14:10: > > > Von: > > > > Adrian Paleacu <[email protected]> > > > > An: > > > > [email protected] > > > > Datum: > > > > 05.08.2011 16:14 > > > > Betreff: > > > > Torque and SQL Injection > > > > Hi everyone, > > > > I'm wondering how safe is torque on sql injection attacks, I dind't fine > any > > official page on that. > > > > > > Regards, > > > > Adrian > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --bcaec5540a66f36ce304a9fd2b54--