protect password from sqlinjection ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajivkadam420
    New Member
    • Apr 2010
    • 2

    #1

    protect password from sqlinjection ?

    how to protect my database table field from sql injection so that it cannot be hacked please suggest i m using classic asp to build websites
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    1- it is a good idea to use a stored procedure to which you can pass parameters, rather than build a text query in your script

    2- depending on which database you use it might not be possible to do a SQL injection without a semi-colon (;), so you might want to consider disallowing semi-colons

    Jared

    Comment

    Working...