this post was submitted on 24 Feb 2025
414 points (98.8% liked)

Technology

68187 readers
3788 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 66 points 1 month ago (9 children)

/me changes name to '); DROP TABLE STUDENTS; --.

[–] [email protected] 3 points 1 month ago (5 children)

Are there character escapes for SQL, to protect against stuff like that?

[–] purplemonkeymad 10 points 1 month ago

Use parameters, that way data and queries are separate.

load more comments (4 replies)
load more comments (7 replies)