|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
What are some ways to secure forms?
I am trying to secure forms, including login windows. What are some effective ways to do this? Stripslashes or escape special characters ?
Thank you.
__________________
bow wow! |
|
#2
|
|||
|
|||
|
I recommend using addSlashes on anything that a user has posted but don't forget to strip them when you use the input.
You should definitely have something to deal with HTML if you want to stop someone posting it. EIther dealing with htmlSpecialChars or replacing <> with < and > respectively. For more serious form security I suggest you read the article on this site about SQL injection attacks since they are a big form security issue at the moment. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > What are some ways to secure forms? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|