Thread: HTML-injection

    #1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2002
    Location
    Norway
    Posts
    57
    Rep Power
    13

    HTML-injection


    Anyone got some good methods for preventing html-injection in ASP?

    Freddy....
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Posts
    138
    Rep Power
    12
    str = replace(str, "<", "&lt;")
    str = replace(str, ">", "&gt;")
    --

    ngibsonau

IMN logo majestic logo threadwatch logo seochat tools logo