- To change the password, change the number
1234
on lines2
and14
in file.php. - To change the protected content, change
<h1>SECRECT STUFF HERE</h1>
on line15
in file.php. - Make sure to change the URL on line
3
in file.php tohttps://yourwebsite.com/file
and add?status=wrong
to the end of it.
Live Demo - Password is 1234
.