Is it dangerous to put JS codes on my site if I can avoid it
Posted: Sun Sep 19, 2010 9:49 pm
Hi girls/guys
I am building a website and I am trying to make it as respecteful and secure as possible to visitors (it's kind of also a project to do this).
I therefore make it a static one, i.e. I don't use PHP & MySQL stuff.
I was wondering whether using JavaScript codes on my website could also be a possible risk. I know some websites might contain dangerous JS, which I guess is why tools like NoScript block them. But what if I "know" that the JS I use is "safe". Would there still be danger that some third party can somehow manage to manipulate my JS to make it dangerous to my visitors?
thanks
I am building a website and I am trying to make it as respecteful and secure as possible to visitors (it's kind of also a project to do this).
I therefore make it a static one, i.e. I don't use PHP & MySQL stuff.
I was wondering whether using JavaScript codes on my website could also be a possible risk. I know some websites might contain dangerous JS, which I guess is why tools like NoScript block them. But what if I "know" that the JS I use is "safe". Would there still be danger that some third party can somehow manage to manipulate my JS to make it dangerous to my visitors?
thanks