DDPI is an authorised mechanism for certain demat-related instructions. The important thing is to understand the permissions you are giving and use the official process provided by your broker.