You need to chown it to root and set the SUID bit on your application. That way when another user runs your program it wil run as root instead of them. As this is a potential security hole make sure only root has write permission.