views:

100

answers:

3

Mistakes in memory management in C, C++, and their ilk are well known. I mostly program in dynamic, weakly typed languages. Are there issues which are particularly important in languages of this type? What language specific issues might I keep an eye out for?

I'm generally mindful of standard security issues, and try to think about the ways in which code could be misused, but am sure there are plenty of less superficial mistakes I could be making, and am interested in expanding my knowledge in this area.

+1  A: 

SQL Injection is a common attack which doesn't depend on type management. Generally, missing input validation is a very common reason for security issues.

Brian Rasmussen
+2  A: 

If you use anything similar to eval() then there is risks for attacks, esp if you are trusting something from outside your application.

James Black
+2  A: 

Just because you're not writing the lower level code doesn't mean that the language you are using, and therefore your app, wont have these kinds of security problems. So my answer to your question is to ensure that you stay up to date on the latest releases on whatever tools you are using. This is more of an issue for you if you host the environment in which your app run, otherwise it's more of a problem for users of your app if they have to run it on their machines.

apphacker
That's a good reminder.
vezult