Jump to content
xisto Community
it01y2

Capturing Username Of Computer using javascript, is it possible?

Recommended Posts

I wondering if it is possible to try and make a java script to get the computer username and log it? :P

Notice from jlhaslip:
edit Topic title

With VBScript you can use WScript.Network object. The user must activate its ActiveX controls.
With normal javascript, I am sure it is not possible, otherwise, it could become a security issue :P

Share this post


Link to post
Share on other sites

I believe Java has some built-in limitations that make it very difficult (if not impossible) to actually do something like that. As apacheNewbie said, it could be a security breach and thus it is most likely not possible to implement using Java.

Share this post


Link to post
Share on other sites

Use phpinfo() to see all of the $_SERVER, $_ENV, and GLOBALS that are available on the Server. I doubt if the client's Computer Name is accessible via those arrays, and I believe there are restrictions against using javascript to find them, but I might be wrong...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.