how do I set allow IP/mask in tightvnc

can anyone tell me how to allow only certain IP/mask to be able to connect to my vncserver ?

I do not want to use hosts.allow for it will cause others to not function