Secure way to "disable" SQL injections within LC stack

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

teriibi
Posts: 167
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

Re: Secure way to "disable" SQL injections within LC stack

Post by teriibi » Tue Feb 13, 2018 2:51 pm

Right that works too and is even simpler...I guess I was trying to use "into" instead of "in". :!: :!:
Tks, for the "" tips on all objects not just fld !
:wink:

bogs
Posts: 1181
Joined: Sat Feb 25, 2017 10:45 pm

Re: Secure way to "disable" SQL injections within LC stack

Post by bogs » Tue Feb 13, 2018 5:05 pm

Glad I could help :)
ImageImage

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4159
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Secure way to "disable" SQL injections within LC stack

Post by jacque » Tue Feb 13, 2018 6:34 pm

Never quote a constant. "Quote" means the literal 5-character string, anything inside quotation marks is a literal. The word quote alone is a constant that LC understands. These are different :

put "quote"

put quote

Try those in the message box and see what you get.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

bogs
Posts: 1181
Joined: Sat Feb 25, 2017 10:45 pm

Re: Secure way to "disable" SQL injections within LC stack

Post by bogs » Tue Feb 13, 2018 9:51 pm

jacque wrote:
Tue Feb 13, 2018 6:34 pm
Never quote a constant. "Quote" means the literal 5-character string, anything inside quotation marks is a literal.
My bad, I really should have mentioned that :oops:
ImageImage

Post Reply

Return to “Internet”