GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Sunday, 11-May-2025 20:36:27 JST 翠星石 翠星石
    in reply to
    • Ayo
    @ayo Have you considered just not writing SQL injections?

    User inputs always need to go into the SQL assembly function as an argument and not used to build up a string and you're safe.
    In conversation about 13 days ago from freesoftwareextremist.com permalink
    • Embed this notice
      Ayo (ayo@lonely.town)'s status on Sunday, 11-May-2025 20:36:29 JST Ayo Ayo

      A silly advantage of not using integer keys: when you somehow make the mistake of interpolating the key directly in the SQL statement, string keys will nearly always result in a syntax error even with correct inputs, making SQL injection bugs much harder to miss.

      (Not speaking from experience)

      In conversation about 13 days ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.