Problem Statement:
Whenever a user tries to access a particular website, we need a way to be able to check whether an antivirus is running on that user’s machine.
Detailed Description:
The website’s login page will incorporate Javascript code which will determine the antivirus status on the user’s machine, and will store this status in hidden fields in the login form.
The Javascript code can use an ActiveX control to actually get the antivirus status, using the Windows Management Interface or the Security Center API.
Required Data:
1. Name of Antivirus Package
2. Version of Antivirus Package
3. Running Status (Active / Inactive)
4. Updation Status (Up-to-date / Outdated)
Assumptions & Constraints:
1. The user’s machine can be assumed to be Windows XP / Windows Vista. The code must work for both.
2. Ideally, the solution should work for both IE and Firefox. If this is not feasible, then only Internet Explorer (v7.0+) is also fine
The Javascript / ActiveX behaviour may be something similar to the following example:
1. Click “Online Form” on this link [login to view URL]
2. Javascript detects that required ActiveX control is not installed. It redirects to a download page.
3. User installs ActiveX control, and revisits page.
4. This time, JavaScript detects ActiveX control. Browser may ask user if they should allow using that ActiveX control. User allows operation.
5. Javascript / ActiveX talk to each other.
Solution Suggestions
The following code snippets may help in building the control:
• Determining Antivirus State
o [login to view URL]
o [login to view URL]
• Calling ActiveX from Javascript
o [login to view URL]
• Making an ActiveX Safe for Scripting
o [login to view URL](VS.85).aspx
We are a software company working on .net,asp,c#,php/mysql.
We have expertise and experience team of developers and we provide better solutions for such type of application.