Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. How does sql parameters work?

How does sql parameters work?

Scheduled Pinned Locked Moved Database
databasequestion
9 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Genbox
    wrote on last edited by
    #1

    Hi. I use sql parameters every time i connect to a database, so it's about time i know the truth :) Does SQL parameters block SQL injections 100%? and how is parameters different from normal SQL strings? (In the way it works)

    P 1 Reply Last reply
    0
    • G Genbox

      Hi. I use sql parameters every time i connect to a database, so it's about time i know the truth :) Does SQL parameters block SQL injections 100%? and how is parameters different from normal SQL strings? (In the way it works)

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      Have you read this article about SQL injection attacks[^], here at CP?

      G 1 Reply Last reply
      0
      • P Paul Conrad

        Have you read this article about SQL injection attacks[^], here at CP?

        G Offline
        G Offline
        Genbox
        wrote on last edited by
        #3

        Yes, i have read it, understand SQL injections and how to prevent it. But is sql parameters really 100% secure, and how does it work? (does it put '' around the data input or/and does it have any checks against the attacks?)

        L P 2 Replies Last reply
        0
        • G Genbox

          Yes, i have read it, understand SQL injections and how to prevent it. But is sql parameters really 100% secure, and how does it work? (does it put '' around the data input or/and does it have any checks against the attacks?)

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Also have a read of ... http://www.securitypronews.com/news/securitynews/spn-45-20061019MaliciousCodeInjectionNotJustforSQLAnymore.html#resume[^]

          P G 2 Replies Last reply
          0
          • L Lost User

            Also have a read of ... http://www.securitypronews.com/news/securitynews/spn-45-20061019MaliciousCodeInjectionNotJustforSQLAnymore.html#resume[^]

            G Offline
            G Offline
            Genbox
            wrote on last edited by
            #5

            Thanks for the link. Nice to know, but unfortunaly it does not answer my question.

            1 Reply Last reply
            0
            • L Lost User

              Also have a read of ... http://www.securitypronews.com/news/securitynews/spn-45-20061019MaliciousCodeInjectionNotJustforSQLAnymore.html#resume[^]

              P Offline
              P Offline
              Paul Conrad
              wrote on last edited by
              #6

              Richard A. Abbott wrote:

              Also have a read of ... http://www.securitypronews.com/news/securitynews/spn-45-20061019MaliciousCodeInjectionNotJustforSQLAnymore.html#resume\[^\]

              Another article worth bookmarking :)

              1 Reply Last reply
              0
              • G Genbox

                Yes, i have read it, understand SQL injections and how to prevent it. But is sql parameters really 100% secure, and how does it work? (does it put '' around the data input or/and does it have any checks against the attacks?)

                P Offline
                P Offline
                Paul Conrad
                wrote on last edited by
                #7

                GentooBoxX wrote:

                is sql parameters really 100% secure, and how does it work?

                As far as I know it is secure. I haven't run into any security breaches using SQL parameters. I pretty much stick to stored procedures. You may want to contact the author of the article I mentioned :) Paul

                G 1 Reply Last reply
                0
                • P Paul Conrad

                  GentooBoxX wrote:

                  is sql parameters really 100% secure, and how does it work?

                  As far as I know it is secure. I haven't run into any security breaches using SQL parameters. I pretty much stick to stored procedures. You may want to contact the author of the article I mentioned :) Paul

                  G Offline
                  G Offline
                  Genbox
                  wrote on last edited by
                  #8

                  I have never been able to execute an SQL injection attack on any on my applications that uses SQL parameters, but there is always someone better knowing out there :) I will contact the author of the article you mentioned, did not even think of that for some weird reason.

                  P 1 Reply Last reply
                  0
                  • G Genbox

                    I have never been able to execute an SQL injection attack on any on my applications that uses SQL parameters, but there is always someone better knowing out there :) I will contact the author of the article you mentioned, did not even think of that for some weird reason.

                    P Offline
                    P Offline
                    Paul Conrad
                    wrote on last edited by
                    #9

                    GentooBoxX wrote:

                    I have never been able to execute an SQL injection attack on any on my applications that uses SQL parameters, but there is always someone better knowing out there

                    Same here and I'd like to also know if it's 100% secure. I am for the time going with that until someone out there proves otherwise :)

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups