A method that focuses on securing a user's private data for targeted digital advertising is provided. The method creates a digital identity and encrypted user database on the user's device 102. The third-party device 108 authenticates the user device through a smart contract-based blockchain 104, ensuring secure acc...