Oct. 8, 2023, 9:36 a.m. | LiwenWang

DEV Community dev.to




Goal


The effect to achieve in this article is to encrypt the HTML source code and ensure that the encrypted HTML can still be used normally when viewed as plain text. However, there seems to be a flaw in this approach because it only protects against "viewing the source code," but there are often "inspectors" in browser developer tools that can view the parsed HTML code. As long as the HTML code can be parsed, the parsed code can still …

article code encrypt encrypted encryption flaw html javascript magic plain text source code text webdev

Intern, Cyber Security Vulnerability Management

@ Grab | Petaling Jaya, Malaysia

Compliance - Global Privacy Office - Associate - Bengaluru

@ Goldman Sachs | Bengaluru, Karnataka, India

Cyber Security Engineer (m/w/d) Operational Technology

@ MAN Energy Solutions | Oberhausen, DE, 46145

Armed Security Officer - Hospital

@ Allied Universal | Sun Valley, CA, United States

Governance, Risk and Compliance Officer (Africa)

@ dLocal | Lagos (Remote)

Junior Cloud DevSecOps Network Engineer

@ Accenture Federal Services | Arlington, VA