Forum Moderators: phranque

Message Too Old, No Replies

Web App Accessible from Only Single PC

         

anjanesh

3:20 pm on Apr 13, 2010 (gmt 0)

10+ Year Member



I need to create a web-based system where the input has to be from a single PC or touch-screen (if possible) and must not accept from anywhere else.

I dont mind if its an Opera or Google Widget as long as the URL is not shown to the users.

There is a static IP, but the static IP from the ISP is shared across the network, so other users on the same network would have the same static IP.

Any pointers on this line of web-development ?

piatkow

3:56 pm on Apr 13, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Quick and dirty, make access dependent on a cookie manually installed on that PC.

anjanesh

6:46 pm on Apr 13, 2010 (gmt 0)

10+ Year Member



That'll not be a good idea. This is a system for employees, yet needs to accessed online only by an admin.
Security is important. Cant depend on manual cookie installation. Needs to be hack proof.

bill

8:16 am on Apr 14, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Nothing connected to the Internet is hack proof.

How about installing the application directly on the designated PC. Then use remote access technology for the Admin?

caribguy

9:16 am on Apr 14, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



On a Windoze client, you could perhaps look at

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid

Obfuscate the value, i.e. using a timer and the client's ip address, and transfer that value over SSL

Nothing is fool proof though, especially not when you have people with physical access to your client PC.

darrenG

11:26 am on Apr 14, 2010 (gmt 0)

10+ Year Member



I think the intended architecture is all wrong. You are trying to put square pegs in round holes.

I agree with Bill. This should be a client app which communicates with the server using web services.

lammert

5:47 pm on Apr 14, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The only way I can think of is to open an SSH connection between the PC/touchscreen and the server. The web connection is then tunneled over the SSH connection to the web server. The web server should only listen to port 127.0.0.1 and the browser on the PC/touchscreen also connects to 127.0.0.1 on the local computer. The local SSH client and the remote SSHD server catch the requests for the local port 80 and tunnel it to the remote site.

Such a setup is tricky to firewall on the touchscreen PC, because users on the same local network as the touchscreen may be able to connect to the port 80 if it isn't blocked for access via the IP address of the network interface.