is the a way to stop multi-logins to a website to 1 connection/IP ?

let say that my website is <http://website.com> and i want only 1 user to browse from 1 IP !

is this possible using php, javascript or htaccess ?

i've done many test to htaccess but all failed

thanks in advance