Jump to content

SQL injection trought password field

- - - - -

  • Please log in to reply
4 replies to this topic

#1
alex1

alex1

    Learning Programmer

  • Members
  • PipPipPip
  • 93 posts
Hi guys! I'm working on a new project.I have a simply question,as I'm a beginner.
I have serval fields,wich have to be filled out at the registration.At the password field spaces are allowed.Is it possible to get a code injected trought the password box?

Any reply will be extremely helpfull!!!

Thanks in advance!!!

#2
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts
oh yes!
It is possible to have sql injection with any input from the user (text, textarea, password or even checkbox!)

#3
alex1

alex1

    Learning Programmer

  • Members
  • PipPipPip
  • 93 posts
Thanks for the reply Vaielab!!! :w00t:

#4
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts
You should take a look at this tutorial
It may help you protect against sql injection (and other type or injection)
http://forum.codecal...p-security.html

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Something important to understand: Any forum data can be populated with ANY data when it hits your server. Try the Hackbar addon for FireFox if you want to get an idea of what a malicious person can send to your poor server.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users