Testing

Showing 13–24 of 30 articles

Testing2 min read

Working with CSRF tokens, part 5

In part 5 we take the ideas from earlier instalments and apply them to a larger, messier site. Cross-site request forgery tokens are one of the first things that trip up a script trying to log in to…

Testing2 min read

Working with CSRF tokens, part 3

For part 3, we revisit the basics with a fresh example and a few lessons learned the hard way. Cross-site request forgery tokens are one of the first things that trip up a script trying to log in to…

Testing2 min read

Working with CSRF tokens, part 6

Part 6 looks at what changes when the same technique has to run every day in production. Cross-site request forgery tokens are one of the first things that trip up a script trying to log in to a…

Testing2 min read

Working with CSRF tokens

Cross-site request forgery tokens are one of the first things that trip up a script trying to log in to a site: the form posts fine in a browser but fails with a 403 from code.

Testing2 min read

Working with CSRF tokens, part 4

This is part 4 of our series, and this time we focus on edge cases readers asked about. Cross-site request forgery tokens are one of the first things that trip up a script trying to log in to a site:…