Patient privacy protection is a critical focus in medical practice. Advances over the past decade in big data have led to the digitization of medical records, making medical data increasingly accessible through frequent data sharing and online communication. Periocular features, iris, and fundus images all contain biometric characteristics of patients, making privacy protection in ophthalmology particularly important. Consequently, privacy-preserving technologies have emerged, and are reviewed in this study. Recent findings indicate that general medical privacy-preserving technologies, such as federated learning and blockchain, have been gradually applied in ophthalmology. However, the exploration of privacy protection techniques of specific ophthalmic examinations, like digital mask, is still limited. Moreover, we have observed advancements in addressing ophthalmic ethical issues related to privacy protection in the era of big data, such as algorithm fairness and explainability. Future privacy protection for ophthalmic patients still faces challenges and requires improved strategies. Progress in privacy protection technology for ophthalmology will continue to promote a better healthcare environment and patient experience, as well as more effective data sharing and scientific research.