securing open on a character device

view story

http://www.linuxquestions.org – Hi I want to secure the open on my character device such that only certain user process/program can open the device. If we go only with name of program then someone can hack it by having different program with same name, so Is there any mechanisms in place by which i can do that without comparing name of a programs. Thanks (HowTos)