Industry 5.0 blows the whistle on a new industrial revolution, aiming to refocus industrial development by reintegrating the human factor into the technological equation. On the eve of the revolution, the comprehensive surveys for Industry 5.0 would provide important support for future development. However, current surveys for Industry 5.0 are still in their infancy and some gaps remain. (i) Current work lacks a comprehensive technical architecture for Industry 5.0 and an in-depth analysis of the enabling technologies that will drive Industry 5.0; (ii) There is no comprehensive survey on security issues of Industry 5.0, which will directly hinder its development; (iii) As Industry 5.0 introduces people into the technological equation, then it will also further consider the broader human interests in its security equation. It is an open issue that traditional security classifications cannot summarize these new security threats in Industry 5.0. Therefore, this survey starts by reviewing the latest key enabling technologies and proposing an overall technology hierarchical structure for Industry 5.0. Second, we investigate the triad of security issues in Industry 5.0, which includes threats and countermeasures for functional safety, information security, and humanized security. Among them, we define the third security issue in Industry 5.0, humanized security, which includes safeguarding the broader interests and rights of individuals, machines, and society. Finally, we summarize future challenges and research trends. To the best of our knowledge, this is the first comprehensive overview of security in Industry 5.0, in which humanized security is defined for the first time.