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
  1. Home
  2. The Lounge
  3. Protecting your webforms

Protecting your webforms

Scheduled Pinned Locked Moved The Lounge
databaseai-modelsquestion
6 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.
  • S Offline
    S Offline
    Steve McLenithan
    wrote on last edited by
    #1

    Just curious to know how others go about doing this. I've heard pretty bad things about sql injection attacks. :cool:

    Steve McLenithan
    Is Bert Evil?

    J D 2 Replies Last reply
    0
    • S Steve McLenithan

      Just curious to know how others go about doing this. I've heard pretty bad things about sql injection attacks. :cool:

      Steve McLenithan
      Is Bert Evil?

      J Offline
      J Offline
      Jonathan Austin
      wrote on last edited by
      #2

      Steve McLenithan wrote: sql injection attacks What I did on my last project was to use Stored Procedures (SQL Server). I believe that will solve most of the problems with SQL Injection attacks. Jonathan

      S 1 Reply Last reply
      0
      • J Jonathan Austin

        Steve McLenithan wrote: sql injection attacks What I did on my last project was to use Stored Procedures (SQL Server). I believe that will solve most of the problems with SQL Injection attacks. Jonathan

        S Offline
        S Offline
        Steve McLenithan
        wrote on last edited by
        #3

        That makes sense, would there still be any way around that?

        Steve McLenithan
        Is Bert Evil?

        J 1 Reply Last reply
        0
        • S Steve McLenithan

          That makes sense, would there still be any way around that?

          Steve McLenithan
          Is Bert Evil?

          J Offline
          J Offline
          Jonathan Austin
          wrote on last edited by
          #4

          The only way I can see is if you used dynamic sql in your stored procedures. You would then have the same problem.

          S 1 Reply Last reply
          0
          • J Jonathan Austin

            The only way I can see is if you used dynamic sql in your stored procedures. You would then have the same problem.

            S Offline
            S Offline
            Steve McLenithan
            wrote on last edited by
            #5

            Jonathan Austin wrote: if you used dynamic sql Gotcha;)

            Steve McLenithan
            Is Bert Evil?

            1 Reply Last reply
            0
            • S Steve McLenithan

              Just curious to know how others go about doing this. I've heard pretty bad things about sql injection attacks. :cool:

              Steve McLenithan
              Is Bert Evil?

              D Offline
              D Offline
              Deepak Khajuria
              wrote on last edited by
              #6

              If you are using SQL Server , you can use sp_executesql with paramters to execute dynamic sql. This should take care of sql injection attacks. I am sure there must be a equivalent of sp_executesql in other DB. Deepak

              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