Determine RAM using Web Application...

  • Thread starter Thread starter rmorvay
  • Start date Start date
R

rmorvay

I need to know if there is a way to determine the amount of RAM that a
person has on their workstation from a web application. We are using
BrowserHawk to mine HTTP information but I also need to know amount of RAM.
Is this possible?

Thanks in advance.
 
I need to know if there is a way to determine the amount of RAM that a
person has on their workstation from a web application. We are using
BrowserHawk to mine HTTP information but I also need to know amount of
RAM. Is this possible?

I don't think this is possible with vanilla Javascript. Web browsers do not
allow access to information such as system RAM.

You do have a couple options:

1. If this is an intranet app, you could fetch the information through WMI
2. If this is an external app, you'll need some sort of applet (i.e. COM,
..NET, Java, Flash(?), etc.)
 
Its not possible without breaching the sandbox, which is the element of the
browser that stops you reading about the local system, other than a series
of settings the browser might pass. So, either learn how to work around the
sandbox or find an alternative approach like a local exe you can query via
sockets from the server that gathers for you or WMI if you have the correct
permissions.

http://www.devarticles.com/c/a/JavaScript/JavaScript-Security/
http://www.codeproject.com/cs/inter...sp?df=100&forumid=127088&exp=0&select=1811254
--
--
Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
 
or just use ActiveX controls

using this .NET crap means that web development is LESS POWERFUL

MS should stop trying to sell us on a new version of everything and
fix their holes
 
Even with an activeX you still have the problem of lessening security. Its
a necessary browser security issue and part of the HTTP specification as
described here: http://www.w3.org/TR/access-control/ - you might find it a
useful read.

- either work with browser security or work around it - .net doesn't
actually come into it, unless of course you want to use the modern
equivalent of an activeX in deploying a net runtime exe in IE.
http://msdn2.microsoft.com/en-us/library/a7as3z1d.aspx

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
 
Even with an activeX you still have the problem of lessening security. Its
a necessary browser security issue and part of the HTTP specification as
described here: http://www.w3.org/TR/access-control/- you might find it a
useful read.

- either work with browser security or work around it - .net doesn't
actually come into it, unless of course you want to use the modern
equivalent of an activeX in deploying a net runtime exe in IE.http://msdn2.microsoft.com/en-us/library/a7as3z1d.aspx

Regards

John Timney (MVP)http://www.johntimney.comhttp://www.johntimney.com/blog

Hi John, you probably have figured this one out, but just in case you
should know that aaron_kempf is our neighborhood troll. He posts under
quite a few aliases including PFC Sadir, dbahooker, susiedba, Larry
Linson Jr, and more.

Just a heads up.

Thanks,

Seth Rowe
 
Thanks for the heads up Seth, I do already know but the ill-founded
response to my intial posting deserved a sensible and educated answer if for
no other reason than to help Bob avoid any misleading information posted!

Regards

John Timney (MVP)http://www.johntimney.comhttp://www.johntimney.com/blog

I don't blame you for debunking his lies, I just wanted let you (and
the OP) know his history before a full-fledged trolling campaign
started in this thread :-)

Thanks,

Seth Rowe
 
I just don't blieve that we can let microsoft pull another 'if you
want REAL security then move to the latest and greatest'

MIcrosoft needs to seperate marketing crap from practical security--
ActiveX is 100x more powerful than anything else on the market.. I
mean 'officeWebComponents' put spreadsheets.google.com to SHAME

I'm not a troll

I just think that it's bullshit-- that after 10 years of 'if you want
real security then buy ______________'

They no longer have my permission to try to con us out of our hard-
earned money
 
Back
Top