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. Database & SysAdmin
  3. Database
  4. Search Security

Search Security

Scheduled Pinned Locked Moved Database
csharpsecurityquestion
3 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.
  • T Offline
    T Offline
    tmoney101
    wrote on last edited by
    #1

    Hey I have developed a webpage that has a search feature. Now I have read articles in the past that warn about security - how hackers could type bad input that could drop or damage your tables, and ways to go about stopping this from happening. Now does this still apply today with .net v2? As i have noticed it has some built in security that stops you from entering ceratin characters. If I still should add extra security does anyone know of any good articles or have an pointers? Thanks!

    C P 2 Replies Last reply
    0
    • T tmoney101

      Hey I have developed a webpage that has a search feature. Now I have read articles in the past that warn about security - how hackers could type bad input that could drop or damage your tables, and ways to go about stopping this from happening. Now does this still apply today with .net v2? As i have noticed it has some built in security that stops you from entering ceratin characters. If I still should add extra security does anyone know of any good articles or have an pointers? Thanks!

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      tmoney101 wrote:

      Now does this still apply today with .net v2?

      Absolutely, yes!

      tmoney101 wrote:

      If I still should add extra security does anyone know of any good articles or have an pointers?

      SQL Injection Attacks and Some Tips on How to Prevent Them[^]


      Upcoming Scottish Developers events: * UK Security Evangelists On Tour (2nd November, Edinburgh) * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

      1 Reply Last reply
      0
      • T tmoney101

        Hey I have developed a webpage that has a search feature. Now I have read articles in the past that warn about security - how hackers could type bad input that could drop or damage your tables, and ways to go about stopping this from happening. Now does this still apply today with .net v2? As i have noticed it has some built in security that stops you from entering ceratin characters. If I still should add extra security does anyone know of any good articles or have an pointers? Thanks!

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        OK - don't use inline SQL. Use Stored Procedures. HTMLEncode your input. Verify the input to detect common injection conditions. Colin has a good article on how to do this.

        Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

        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