472,142 Members | 1,032 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,142 software developers and data experts.

Detect windows client software installed on a client machine

Raj
Hi All,
Is it possible to detect if a client software is installed on a
machine using browser javascript.

we are building a web/windows software and when the user logs into
the web application, we want to detect if our software is installed on
the client machine and if so we want to provide more access, or else
we want to give the user a limited access to the web site

Thanks in Advance
Raj
Jul 23 '05 #1
3 9108
In article <26**************************@posting.google.com >,
ph*********@yahoo.com says...
Hi All,
Is it possible to detect if a client software is installed on a
machine using browser javascript.

we are building a web/windows software and when the user logs into
the web application, we want to detect if our software is installed on
the client machine and if so we want to provide more access, or else
we want to give the user a limited access to the web site


var mySoftware = confirm("Is our software installed on your machine?");

--
Hywel I do not eat quiche
http://kibo.org.uk/
http://kibo.org.uk/mfaq.php
Jul 23 '05 #2
Raj wrote:
Hi All,
Is it possible to detect if a client software is installed on a
machine using browser javascript.

we are building a web/windows software and when the user logs into
the web application, we want to detect if our software is installed on
the client machine and if so we want to provide more access, or else
we want to give the user a limited access to the web site

Thanks in Advance
Raj


Short answer is no... you could try cookies but there is no guarantee
that the user allows them or keeps them... If the user has your software
installed then *maybe* someone in some windoze newsgroup might be able
to tell you how to change the registery whereby mime-types or other such
info sent with browser headers *might* help tell you this info - However
javascript security prohibits any other method of you tinkering /
peeking under the hood of a windoze box... If you wanted to be evil, you
could try ActiveX but I deny them no matter who signs them...

randelld
Jul 23 '05 #3
Raj wrote:
Hi All,
Is it possible to detect if a client software is installed on a
machine using browser javascript.

we are building a web/windows software and when the user logs into
the web application, we want to detect if our software is installed on
the client machine and if so we want to provide more access, or else
we want to give the user a limited access to the web site

Thanks in Advance
Raj


Have your software modify

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Internet
Settings\User Agent\Post Platform

and add a "String" value that uniquely identifies your application. It
will then be sent as part of the HTTP_USER_AGENT sent with each request
from IE (assuming the user is using IE and that they haven't tinkered with
values themselves). You only need give the "Name" of the key/value pair
the information you want to display, the "Data" portion is ignored.

--
| Grant Wagner <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Dim St Thomas | last post: by
2 posts views Thread by mb12036 | last post: by
2 posts views Thread by Raquel | last post: by
14 posts views Thread by Jonny | last post: by
6 posts views Thread by Patrick Jox | last post: by
Eleven
4 posts views Thread by Eleven | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.