How to protect a file from debugging

Oliver Welter
2007-06-11T08:17:12Z

[-- Attachment #1: Type: text/plain, Size: 601 bytes --]

Hi List,

sorry if this is a stupid question but I am not very familiar with gdb ;)

I am planing a security application and gdb is causing some "troubles".

Can someone point me to some infos or shortly explain me if there is a
way to protect a program from attaching to it? I must either prevent gdb
(or similar software) from attaching to a process or at least detect
the attach and send a terminate signal to the application.

best regards