There are security concerns with my authentication overlay modal, especially for users familiar with CSS and HTML.
Is there a way to hide the HTML behind the modal so it doesn't appear in the page source?
The code below is just an example of a modal, not the actual code I'm using. My code pulls in wp-auth-login
from Wordpress to the Frontend, but this showcases the issue. How can I prevent users from viewing the content behind a modal, even if they try to use display:none
on the overlay?