<commit_before>---
layout: post
title: "Be sure to test your code thoroughly!!"
published: true
---
Something that I am still learning to do is to test my code thoroughly.  What I mean is that I make a program that I believe works but I fail to take into account the various ways that it can be broken.  The way a web page can be broken is through text box input submissions.

In the first example I will show you how to protect from sql injection.  Sql injdction is a technique that is used to attack data-driven applications. Sql statements are inserted into an entry field for execution and the the result is that database information is revealed to the attacker. Essentially the attacker inserts a statement that is always true into the text field.
![_config.yml]({{ site.baseurl }}/images/sqlinjection.png)



![_config.yml]({{ site.baseurl }}/images/config.png)

The easiest way to make your first post is to edit this one. Go into /_posts/ and update the Hello World markdown file. For more instructions head over to the [Jekyll Now repository](https://github.com/barryclark/jekyll-now) on GitHub.<commit_msg>Updated 2014-3-3-Hello-World.md<commit_after>---
layout: post
title: "Be sure to test your code thoroughly!!"
published: true
---
Something that I am still learning to do is to test my code thoroughly.  What I mean is that I make a program that I believe works but I fail to take into account the various ways that it can be broken.  The way a web page can be broken is through text box input submissions.

In the first example I will show you how to protect from sql injection.  Sql injdction is a technique that is used to attack data-driven applications. Sql statements are inserted into an entry field for execution and the the result is that database information is revealed to the attacker. Essentially the attacker inserts a statement that is always true into the text field.
![]({{site.baseurl}}/_posts/sqlinjection.png)![sqlinjection.png]({{site.baseurl}}/_posts/sqlinjection.png)



![_config.yml]({{ site.baseurl }}/images/config.png)

The easiest way to make your first post is to edit this one. Go into /_posts/ and update the Hello World markdown file. For more instructions head over to the [Jekyll Now repository](https://github.com/barryclark/jekyll-now) on GitHub.
{'fraction_non_alphanumeric': 0.0670147954743255, 'fraction_numerical': 0.0026109660574412533, 'mean_word_length': 4.213151927437642, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6934564', 'n_tokens_mistral': 607, 'n_tokens_neox': 577, 'n_words': 344}