× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



After reviewing archives, I see warnings about sql injection affecting all sql 
processing databases, but all the examples I've found so far on web cover 
ms sql specific problems. Assuming the iSeries does not recognize the  --
problem, and if I either strip single quotes out of user input, or add the 
proper 
extra single quote (BJ'S  =  BJ''S),  what would be a good 
practice to code wherever sql is processed? 
As an example, if I have a screen where user can search by name, and 
user enters JOHN, my sqlrpgle builds a string like  
select * from xyz where wwname like '%JOHN%'
What syntax could someone enter to mess with the system?
Jim Franz


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.