How to Open Web Browser on Clients Computer?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xonlyme
    New Member
    • Jan 2010
    • 1

    How to Open Web Browser on Clients Computer?

    Hello,

    I am running a server and client in Java, I have the server located on my dedi at home and I give the client to users so they can connect to the server. I am trying to add in where they can type in a command such as /web into the client and have a web browser open up on their computer. However, I got the getUrl code located on the server and when ever someone types in /web, it opens up the web broswer on my server's dedi instead of their own system, how would I go about fixing this? I am really stumped on this one. Any help is appreciated.

    Thank you for reading.

    P.S I could add this into the client and it would work, but then that gives them access to certain things I want to keep private which is why I'm trying to have it load from the server to the clients computer. As the server is on a protected network.
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    The server doesn't have control over the client's machine. Simply add some functionality to the client-code that opens the browser. I do not see how this would be a security issue.

    Mark.

    Comment

    • arty
      New Member
      • Nov 2008
      • 35

      #3
      pretty sure it's possible:

      client computer -----------sends a command---------> server----->server opens software thru command prompt.
      start checking google :

      then you would need to pass an argument at the prompt to call the browser.

      Comment

      • Markus
        Recognized Expert Expert
        • Jun 2007
        • 6092

        #4
        As noted before: that would create a browser instance on the server. In order for the client to open a browser instance, the client would have to make the call. Ergo, the client will need the functionality.

        Comment

        Working...