M4DM4X
Elite Member
- Jan 21, 2015
- 2,909
- 1,754
Hi guys,
I'm using the code below to password protect a page (it just requires a pw, no login).
It's a mix of php and html.
Do you think it is secured enough?
I don't know how to implement a temporisation/delay to this code to avoid brute forcing, but I've added a popup to show up after a wrong entry to slow down any attack.
I know I could protect the page via htaccess but I'd like to have a fancy page to show up to visitors instead of an ugly popup asking for password.
Thanks for any idea how to improve this code if you think it's not safe.
PS: sorry for posting an image instead of text but BHW seems to trigger an error msg when posting code. I copied the text version here:
https://pastebin.com/ahSzgJSf
I'm using the code below to password protect a page (it just requires a pw, no login).
It's a mix of php and html.
Do you think it is secured enough?
I don't know how to implement a temporisation/delay to this code to avoid brute forcing, but I've added a popup to show up after a wrong entry to slow down any attack.
I know I could protect the page via htaccess but I'd like to have a fancy page to show up to visitors instead of an ugly popup asking for password.
Thanks for any idea how to improve this code if you think it's not safe.
PS: sorry for posting an image instead of text but BHW seems to trigger an error msg when posting code. I copied the text version here:
https://pastebin.com/ahSzgJSf