How to protect site from Virus attacks
-
I am in great trouble I am getting virus attacks on my site again and again. Just check trumpandgates.com , oceanicsky.org ( make sure you have antivirus on your system) when I discussed with my hosting people they are saying that its code venerabalities problem. But site having even single html page were also attacked. Please please help me. I have more than 200 sites attacked time and again. Please suggest me how to make my sites safe and protect from Viruses. I have protected site from sql injections. with this code Function IllegalChars(sInput) Dim sBadChars, iCounter sBadChars=array("select", "drop","insert", "delete", "xp_", "#", "%","(", ")","<",">","=","`") For iCounter = 0 to uBound(sBadChars) If Instr(sInput,sBadChars(iCounter))>0 Then IllegalChars=True End If Next End function Dim sUsername, sPassword sUsername=Request.Form("username") sPassword=Request.Form("password") If IllegalChars(sUsername)=True OR IllegalChars(sPassword)=True Then Response.redirect("no_access.asp") End If
-
I am in great trouble I am getting virus attacks on my site again and again. Just check trumpandgates.com , oceanicsky.org ( make sure you have antivirus on your system) when I discussed with my hosting people they are saying that its code venerabalities problem. But site having even single html page were also attacked. Please please help me. I have more than 200 sites attacked time and again. Please suggest me how to make my sites safe and protect from Viruses. I have protected site from sql injections. with this code Function IllegalChars(sInput) Dim sBadChars, iCounter sBadChars=array("select", "drop","insert", "delete", "xp_", "#", "%","(", ")","<",">","=","`") For iCounter = 0 to uBound(sBadChars) If Instr(sInput,sBadChars(iCounter))>0 Then IllegalChars=True End If Next End function Dim sUsername, sPassword sUsername=Request.Form("username") sPassword=Request.Form("password") If IllegalChars(sUsername)=True OR IllegalChars(sPassword)=True Then Response.redirect("no_access.asp") End If
How can a site be attacked by viruses ? Sounds like rubbish to me. Your site serves HTML, if the server is secure, then you're OK. If it's not, then it's not. The hosting people have the issue.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
How can a site be attacked by viruses ? Sounds like rubbish to me. Your site serves HTML, if the server is secure, then you're OK. If it's not, then it's not. The hosting people have the issue.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
I Contacted them but they are saying that there are vanerablities in my code. :((
-
I Contacted them but they are saying that there are vanerablities in my code. :((
Well that's a bunch of baloney. I don't think it's physically possible to inject a virus into HTML unless they are breaking into the hosting company's servers and editing your HTML files. It's not like you can write some 1337 phrase in a text box and use it to put viruses on websites. Sounds like your hosting company just doesn't want to admit that they have a problem.
-
Well that's a bunch of baloney. I don't think it's physically possible to inject a virus into HTML unless they are breaking into the hosting company's servers and editing your HTML files. It's not like you can write some 1337 phrase in a text box and use it to put viruses on websites. Sounds like your hosting company just doesn't want to admit that they have a problem.
Anybody can please suggest most secure hosting services. I am from India but I have account in Paypal and ICICI so I can purchase space from any country. I purchase space from different 10 servers but somebody is tracking site listed on rpgwebsolutions.com ( which I have removed now for safety). All sites listed there are struck by virus hosted on different servers. Even Globat was strucked. Virus is asking to install some Chinese font. I have more than 200 sites. Now I am in big trouble somebody please help. :((