|
RE: tips to secure a web application: msg#00042security.web-applications
> From: .Saphyr [mailto:saphyr@xxxxxxxxxxxxx] > Sent: 20 February 2004 02:36 > To: webappsec@xxxxxxxxxxxxxxxxx > Subject: Re: tips to secure a web application > You do not have fewer risks by using jdbc support for > database communication. SQL injection flaws are related to an > upper layer: > the sql language, as jdbc only gives you a wrapper to access > many database providers (sql 2000, oracle, odbc, ...). > > You can however mitigate a lot the sql/command injection > flaws by using the prepared statements classes (precompiled > sql requests on which only parameters are added at runtime) > with jdbc. > > For more information , just google 'java prepared statements'. Are there any libraries for constructing queries from untrusted inputs such as parameters to web apps, that send text-based SQL to the database, and that automatically filter the input (eg using regexps) to prevent SQL injection attacks? In particular, do these prepared statement libraries filter out inputs that include quotes and other nasties, by default? Andy |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: tips to secure a web application: 00042, Martin Tsachev |
|---|---|
| Next by Date: | Removing Apache Banner on IBM Websphere HTTP Server (Apache) for Windows: 00042, Jason binger |
| Previous by Thread: | Re: tips to secure a web applicationi: 00042, Martin Tsachev |
| Next by Thread: | Re: tips to secure a web application: 00042, .Saphyr |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |