Server.CreateObject("AUTHXISP.AuthXOCXCtrl.1") ' use this line to automatically set the domain to be the requesting IP protectedDomain = Request.ServerVariables("LOCAL_ADDR") ' use this alternative if you are protecting by host header (version 4.5 and above) ' set protectedDomain to be -your- host header ' protectedDomain = "hostheader.com" AuthX.SetVirtualDomain protectedDomain, Request.ServerVariables("SCRIPT_NAME") ' check with your isp for your password, initially it is empty (version 4.5 and above) AuthX.SetVirtualDomainPassword("")