9. Modern PHP CSRF Protection Example using a PHP Forms Library
Updated on: 2023-01-24
Posted on: 2023-01-23
Cross-Site Request Forgery (CSRF) attacks are means that badly intentioned users may use to make users of a site perform actions without intention. For instance, a successful CSRF attack can make e-commerce purchases, and the purchased goods are delivered to an attacker's location address.
Good Web sites are protected against CSRF security attacks. Attempts to perform these attacks are ignored.
As a responsible Web developer, it is in your best interest to learn how to prevent these attacks so your PHP Web projects can be more secure.
Please read this short article to learn more about CSRF attacks and a practical example of protection against CSRF attacks in your Web form pages generated and processed by PHP.
More ... Post a comment See comments (2) Trackbacks (0)
Good Web sites are protected against CSRF security attacks. Attempts to perform these attacks are ignored.
As a responsible Web developer, it is in your best interest to learn how to prevent these attacks so your PHP Web projects can be more secure.
Please read this short article to learn more about CSRF attacks and a practical example of protection against CSRF attacks in your Web form pages generated and processed by PHP.
More ... Post a comment See comments (2) Trackbacks (0)
8. Validating PHP Form Inputs Depending Other Inputs
Updated on: 2017-02-13
Posted on: 2011-03-10
Sometimes you have PHP generated pages with forms that have fields which you may want to validate or not depending on the state of other fields.
This article tells how you can easily implement conditional validation logic by explaining how to make one field be validated only if a radio or checkbox is site or some other special custom logic that you need to implement.
More ... Post a comment See comments (3) Trackbacks (0)
This article tells how you can easily implement conditional validation logic by explaining how to make one field be validated only if a radio or checkbox is site or some other special custom logic that you need to implement.
More ... Post a comment See comments (3) Trackbacks (0)