A Quick Guide to the Complex: Ecto.Multi

|
Ecto.Multi, a data structure added in Ecto 2.0, is an extremely useful tool for creating and executing complex, atomic transactions. This very brief guide will cover a few of the most useful methods associated with Ecto.Multi and when to use them.Common Usesinsert(multi, name, changeset_or_struct, opts \\ [])The most straightforward way ... Read More

Disclosing Vulnerabilities: How to Avoid Becoming The Next Data Breach Headline!

|
When it comes to disclosing vulnerabilities to enterprise companies, they seem to prefer the “hear, speak, see no evil” strategy, and the conversation often ends up looks something like this:Me: Hey, we found a vulnerability on your site, wanted to let you know so you can fix it.You: Cool thanks ... Read More

Just Behave Already: Property Testing

|
What is property testing? In short, it can be described as a method of testing output of a program against the expected behavior, or properties, of a piece of code. Why should you care? The same reason we here at Tinfoil Security care: good testing goes beyond ensuring your code ... Read More