Well you could always look at the users IP address, this is available and a little harder to fake. If the server and the clients are all on the same lan then they should belong to a private subnet. It would be easy to check that. If they are from outside (i.e. not a private subnet) you can look at this environment variable REMOTE_ADDR. A quick look here will show you what is available in a normal HTTP request ( http://openskill.info/pages/enviro.php ) but this will assume that the clients have static ip addresses. Also look for the X-Forwarded-For header if the connection is via a proxy. Other than that you could go with an HTTPS connection with custom certificates, but only if you ARE COMPLETELY MAD!!!! Been there, done that. Never again :( On 24 October 2011 11:45, Rajesh B. <rajesh.13kits / gmail.com> wrote: > Thanks peter, > > Is there any other way you can suggest. > So that i can allow user to access the website only from one particular > Computer or couple of computers or a LAN? > > -- > Posted via http://www.ruby-forum.com/. > >