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. Web Development
  3. ASP.NET
  4. Further to the "validation on string" post below

Further to the "validation on string" post below

Scheduled Pinned Locked Moved ASP.NET
csharpdatabasesysadminregexhelp
1 Posts 1 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.
  • N Offline
    N Offline
    NeverHeardOfMe
    wrote on last edited by
    #1

    I have to say that, given the importance of validating user input against SQL Injection, XSS and the like, that someone (.. Microsoft themsleves, as a .NET class) haven't written a comprehensive class library to take care of this. Client side validation doesn't count - though having said that, the routines used for that must go some way at least towards a solution. I know that the new .NET validation server controls can validate server-side, but they still expect the user to define (too much) in terms of pattern matching, for example. i.e., they are too complex; what is really needed is something much simpler that just returns True or False depending on whether the input is a potential threat in terms of SQL Injection or XSS. Whether they've entered the correct data in the correct field is another issue. I know it's a tricky task, but surely not beyond the wit of one of you eggheads out there :) But perhaps I've missed it, and there are such libraries available...

    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