Click here to Skip to main content
15,878,230 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi I have made a website in and i want to embedd a virus sccanner in my website for scanning visiter's system just like other online virus scanners are doing. My mean is not of making a new antivirus or something like that. Basically I want to link other online virus scanner on my website and dont want to redirect user on the site of vender of that virus scanner. I want scanning should be executed on my site.
Is there any way round for that?

Thank You

Just forget it. Think a bit first. Even if such code was possible, what would you think of a Web browser which would allow some Web application to access the system memory and the disk volumes?

If you still don't understand it, I'll tell you what: most the computers using such browser would have been totally killed by the viruses well before their owners get to any anti-virus, on-line or not.

Now, how about "like other online virus scanners are doing"? No, they are not doing it. Actually the users download some anti-virus (on their consent) from the site they trust and run the test on their local systems. It only looks like it happens through the Web.

Share this answer
Sergey Alexandrovich Kryukov 5-Aug-11 4:33am    
OP commented:

Thank you for replying.
So you want to say that whenever user wants to run scan, antivirus will be downloaded onto client's machine. Because antivirus works on files not on any logs or something like that. There is some point that we guys are missing about working of online antivirus because whole data from Hard disk can't be transferred from server for analysis and downloading antivirus on client's machine temporarily is also not wise advice because for that we need full control on client's machine.
Sergey Alexandrovich Kryukov 5-Aug-11 4:46am    
Not quite so. I don't think I'm missing something here. Anything can be transferred from the server to the client. An antivirus can use any on-line data from any server, HTTP or not. This is client's dick volume content cannot be transferred anywhere beyond the client machine (thanks goodness).

This makes no sense: "we need full control on client's machine". Who "we"? The user is interested in total protection of the content from outside word. Your "downloading antivirus on client's machine temporarily is also not wise advice" is completely irrelevant: this is not wise or not and this is not even the advice; this is how it's done. There is no other option. You cannot possibly approach what you suggest; and this is really good.
Sergey Alexandrovich Kryukov 5-Aug-11 4:35am    
Dear Goel Pankaj,

Please don't post texts like the one above as "solution". 1) It is not, so it will be deleted; 2) nobody will get e-mail notification. Instead, use "Add comment" or "Reply" to existing comment. In other cases, use "Improve question".

If you agree that what I posted makes sense, please formally accept the answer (green button).
Thank you.
Novel idea, but to be honest, I wouldn't like any random web site trying to access my hard disk drive. People will only trust valid and official web-sites from anti-virus companies to do that.

Another point is, are you certain your anti-virus aggreement allows you to do that?
Share this answer
Sergey Alexandrovich Kryukov 5-Aug-11 3:54am    
You're right, of course, but what makes you think it's even possible? :-)
Goel Pankaj 5-Aug-11 3:57am    
those websites that are providing this online scanning facility. :-)
Sergey Alexandrovich Kryukov 5-Aug-11 4:03am    
Not exactly. Please see my answer. Can you see the difference?
UJimbo 5-Aug-11 4:19am    
Very informative post. Even if someone manages to implement such a procedure, he's in trouble for using an anti-virus engine like that. Pankaj, I think you'd better start making your own anti-virus engine first :)
Sergey Alexandrovich Kryukov 5-Aug-11 4:39am    
Thank you.
I up-voted your answer by 4.
I don't understand what would such Pankaj's anti-virus cure though :-)
Im afraid not. The scanning will definitely happen on the workstation(client) and not on the server. You can probably create an application that will send the logs from the antivirus to your server for analysis. This application will be installed on every workstation.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900