Bob Sneidar wrote:

> Judging by this, simply putting an SQL server behind a web server does
> not really protect the SQL server like some propose. Maybe I'm
> oversimplifying the issue, but it seems they are saying that using
> this method, shell commands can be executed, and that means access to
> the sql database can be had.

Everything is hackable.

But the more elements we put into place, the smaller the system's attack surface becomes.

Simply hiring a security guard will do nothing to protect your business. But working with a well trained guard to examine your facility's layout, identify entrances and exits, and establish a comprehensive plan for patrolling and mitigating unauthorized entry will stop most would-be burglars.

Same with server middleware. The mere existence of PHP/Perl/Python/LiveCode/etc. by itself won't do much. Smart of use of those, however, represents common best practice for protecting the full scope of MySQL's rich feature set from the open Internet.

While it's possible to mitigate many risks by using especially strong passwords (using modern best practices favoring length over yesteryear's fixation on complexity) along with stored procedures and other MySQL features, the belt-and-suspenders approach with using middleware has become the common best practice for good reason, allowing an additional layer of fine-grained control over the details of handling requests that are beyond the scope of MySQL's design.

Extra bonus points that crafting APIs with middleware can also greatly accelerate client development, esp. where client implementation covers different access options (native client as well as browser, for example), and helps factor storage from model to allow changes to either in ways that minimize impact on other elements.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to