Don't know about any tutorials, but make sure to strip tags on any user inputs that appear on screen. They can use ipconfig() if you're using PHP.
Basically, don't use javascript and make sure the user can't do any cross site scripting or use any functions that expose your IP address.