Hey Everyone,
I posted this in the Javascript forum, someone suggested I try here, view the full current discussion at:
------------------------
I have a website with JS as the only scripting language used - all the wepages have HTML extensions. The server is a LAMP setup, but I am not using any PHP or MYSQL on the site, again all pages are static with NO CMS and no forms.
The website itself does not contain any scripting pages (i.e. .php) within the directory structure. All I am using is:
1. .HTML pages
2. .CSS for stylesheets
3. .JS for javascript functions (there are about 3-4 in total)
4. Google Analytics
I am now having a problem with CODE INJECTION where some of the pages contain that dreaded iframe tag with script tags pointing to trojan files.
I don't want to post a link to the site just in case someone who doesn't have virus protection goes to it.
At this point, I cannot turn off the site, but will be able to do so later this afternoon (I'm in the Pacific time zone - North America)
So my questions are:
1. Can someone (or thing) inject code using javascript - if yes, how do I prevent it (a link to a reference will do if it's a lot of information...I can't seem to find one)
2. What other ways (if not JS) could the code injection be happening (if no through JS)?
3. Is there a forum on this site dedicated to these type of issues???
Thanks everyone..
--------
GOOGLE is a great resource to find answers to questions like "how do i..."
If you don't know exaclty what you want to do or what to search on, try Google Suggest: --------
I have recently been semi-converted to ensuring all my code (well most of it) works in both javascript and non-javasc
I posted this in the Javascript forum, someone suggested I try here, view the full current discussion at:
------------------------
I have a website with JS as the only scripting language used - all the wepages have HTML extensions. The server is a LAMP setup, but I am not using any PHP or MYSQL on the site, again all pages are static with NO CMS and no forms.
The website itself does not contain any scripting pages (i.e. .php) within the directory structure. All I am using is:
1. .HTML pages
2. .CSS for stylesheets
3. .JS for javascript functions (there are about 3-4 in total)
4. Google Analytics
I am now having a problem with CODE INJECTION where some of the pages contain that dreaded iframe tag with script tags pointing to trojan files.
I don't want to post a link to the site just in case someone who doesn't have virus protection goes to it.
At this point, I cannot turn off the site, but will be able to do so later this afternoon (I'm in the Pacific time zone - North America)
So my questions are:
1. Can someone (or thing) inject code using javascript - if yes, how do I prevent it (a link to a reference will do if it's a lot of information...I can't seem to find one)
2. What other ways (if not JS) could the code injection be happening (if no through JS)?
3. Is there a forum on this site dedicated to these type of issues???
Thanks everyone..
--------
GOOGLE is a great resource to find answers to questions like "how do i..."
If you don't know exaclty what you want to do or what to search on, try Google Suggest: --------
I have recently been semi-converted to ensuring all my code (well most of it) works in both javascript and non-javasc