Can't your create a firewall/router rule to only allow specific user ids/ips acccess to this? This hardly sounds like a scripting issue.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's