Welcome Guest, Not a member yet? Register   Sign In
Protection from SQL-injections and XSS-atacks
#16

(This post was last modified: 07-23-2017, 06:57 AM by PaulD.)

Yes.

But you should validate data on input. So if you are expecting an integer, you validate it as an integer, etc.

When outputting user created data to a view, you have to be careful. So yes, usually you would use html_entities just to stop them using </div> to break your site or worse of course.

I am no expert on this myself so please do not let your security research end there.
Reply


Messages In This Thread
RE: Protection from SQL-injections and XSS-atacks - by PaulD - 07-23-2017, 06:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB