Secure your website login form using tokens. Its a common php technique used instead of captchas. Tokens are fast,secure, and very easy. I will be uploading more tutorials so subscribe to my channel. Thanks.
@caseyburk This does not secure anything. You can easily execute this same code on your own desktop (not on the server) and it will work.
One of the only ways to secure forms is to NOT use PHP's sessions. You make your own and save it to a database. Then when the form has been submitted you query the database for that session variable. If it doesn't exist, well, you got yourself someone trying to abuse your form.
So unless I'm mistaken, your intent behind the use of tokens is to eliminate (or reduce) the likelihood of someone downloading your working form in order to maliciously use it on their own server?
Do any methods exist that would allow someone to bypass this little trick? I find it hard to believe that this is a catch-all for this type of defense... Regardless, you have another subscriber. :.) Great job!
What's the advantage to using classes? I have found them to actually be annoying when declaring variables..
TheBreakersValley 5 days ago
Damn, fuck! Why is my english so bad? Its hard to follow you for me :) But you have great tutorials, dude!
novozocker82 2 months ago in playlist Uploaded videos
@caseyburk This does not secure anything. You can easily execute this same code on your own desktop (not on the server) and it will work.
One of the only ways to secure forms is to NOT use PHP's sessions. You make your own and save it to a database. Then when the form has been submitted you query the database for that session variable. If it doesn't exist, well, you got yourself someone trying to abuse your form.
This is useless and redundant code.
beneskew 8 months ago
excellent, thank you
mrwilson41 8 months ago
@caseyburk by making a file that has a form like his but setting the session token = 1 and the input field token = 1
is my guess
MegaBlastDesigns 10 months ago
So unless I'm mistaken, your intent behind the use of tokens is to eliminate (or reduce) the likelihood of someone downloading your working form in order to maliciously use it on their own server?
Do any methods exist that would allow someone to bypass this little trick? I find it hard to believe that this is a catch-all for this type of defense... Regardless, you have another subscriber. :.) Great job!
caseyburk 1 year ago
Cool I like this better then what I was using thx
SilconOne 2 years ago
tnx man
ezida87 2 years ago