I want to make a Client-Server Application in which once a client Application is connected to Server, user at client side should not be able to terminate it unless permission is given by server.
Client side User should not be able to terminate Client Application by kill -9 <pid> or Force Quit from Activity monitor

I have trapped all other signals but not able to find a way to prevent SIGKILL to my Application ?

I want to implement this functionality on BSD UNIX system

Any help would be really great Thanks