in reply to Re: interaction or verify with users pc
in thread interaction or verify with users pc

thank you for your reply... what I am out to do is install a file on the pc of a user... these users have no choice to have this placed on thier pc or they will not be able to access the files/scipts... I am looking for a way to verify that a user is accessing it from a authorized pc or the attempt will fail or atleast be loggged as well as interact with my scripts I write to read this file...

the part about the java applet, I am thinking a java applet on the site would do the work of getting the info off of the users pc to verify thier username and the pc they are using for access agaisnt my mysql database...

on like a simple example of what I want it to do would be like have the font colors and faces to be used be stored on thier pc and I need to access that file for the settings.. font colors and face is only an example of what I am out to do but if that can be done I will make it work for me..lol

sorry for my not so good explanation of this... I have been doing perl since 98 and have self taught myself to get it to do what I want it to... I have never gone to school for any of this so my terms or prases of explantions or questions gets rough at times...lol I am just real good at makin perl do what I want it to after 500 trial and error attempts...lol

Thank you both for your time in the replys :)

  • Comment on Re^2: interaction or verify with users pc

Replies are listed 'Best First'.
Re^3: interaction or verify with users pc
by goober99 (Scribe) on Mar 12, 2005 at 21:14 UTC
    Without any information about why you would want to install anything on a user's machine, it's a bit difficult to answer your question. In fact, it's not really clear what your question actually is.
    There are many different ways to verify a user's identity. The best one depends on the scenario it is being used in. I think Joost was asking what scenario you need this script for. You had already explained what you needed the script to do. I can think of two possible scenarios:

    (1) Verifying return users who registered online.
    Since there are already thousands of websites (including this one) that require users to register and later verfiy their identity, just look around the web and model your system after existing ones. I can't think of any website that requires me to download and install a program that will verify my identity at a later time, and I definitely wouldn't register at a website that had such a requirement. You can make a very secure username/password system.

    (2) Creating scripts on your company's website that are supposed to only be accessed by company computers.
    This would be the only case where I'd find a program on the user's computer appropriate and even then I don't see why a username/password would not be sufficient. There would be no reason to create the program using Java. The program could be created using Perl, and if you needed to create an executable, just use PAR and pp.

    Since business computers are usually in an intranet, you probably wouldn't need to worry about the users having to install the program themselves. Just talk with your sysadmin and have him deploy the program to all the needed computers.
Re^3: interaction or verify with users pc
by Joost (Canon) on Mar 12, 2005 at 19:57 UTC
    On a decently configured machine it is impossible to install anything without the user's consent, and trying to bypass that could be illegal depending on the circumstances - I would consider it immoral in any case. Also, running a certain program will by itself not guarantee a specific user sitting at the keyboard. What's wrong with a simple user/password scheme anyway?

      HI

      I never said this was going to be done without thier consent, this is not being made for public used enviroment... this is for authorized employees.

      this is intended to verify it is being accessed from an authorized pc and for the file on the pc to be able to interact with the scripts on the site as the title of my post stated

      Lets say you build an online game and you only want one player name per pc period.. multi accounts is not allowed.
      How would this be accomplished?.. username and password does nothing to check if the user has an account already.. something has to check a location on thier pc for an expected file to be there

      I am not building a game but my need is in the same type of style

      Thank you :)

        I really don't get why would you only want one user per pc. You might want to limit an account to a specific pc, but why would you want to do it the other way around?

        Anyway, if a user installs a program, you could let that program check for the MAC address of the network card, the CPU Info and possibly other metrics, but none of which will be definitive, because a PC is not a single entity. Users can install another network card and/or CPU, add memory, get a new CPU etc etc etc. Ofcourse you could get them to re-register after making the changes, and update the database.

        As for identifying users, your best bet would probably still be a username/password entry.