• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

SQL Injection

Explorer ,
Apr 11, 2007 Apr 11, 2007

Copy link to clipboard

Copied

Is there the way to prevent the hacker by putting some thing from the where clause on the SQL statement?

Thanks
TOPICS
Advanced techniques

Views

163

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 11, 2007 Apr 11, 2007

Copy link to clipboard

Copied

LATEST
go to cflib.org and look up the safetext function. It will give you a good start. It will also help protect you from cross site scripting.

Use of cfqueryparam has a lot of benefits, including this. If you can't use that, run some other function on anything the users can send you. The actual functions depend on the datatype of the field.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation