Skip to content

Commit 9a176d7

Browse files
committed
updating web application security section
1 parent b11deff commit 9a176d7

File tree

9 files changed

+99
-10
lines changed

9 files changed

+99
-10
lines changed

change-log.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ <h1>Change Log</h1>
4646
<h2>2014</h2>
4747
<h3>June</h3>
4848
<ul>
49-
<li>Added learning checklist for logging.</li>
49+
<li>Updated logging page with better explanations and content ordering.</li>
50+
<li>Added learning checklist for logging and web analytics.</li>
5051
</ul>
5152
<h3>May</h3>
5253
<ul>

feeds/all.atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2014-06-01T09:42:21Z</updated></feed>
2+
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2014-06-01T10:03:41Z</updated></feed>

future-directions.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ <h1>Future Directions</h1>
6868
<p>Create learning checklists for every section where it makes sense. The
6969
remaining sections that need checklists are </p>
7070
<ol>
71-
<li>web analytics</li>
7271
<li>web application security</li>
7372
</ol>
7473
</li>

source/content/pages/08-monitoring-analytics/0805-web-analytics.markdown

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,26 @@ application before taking some action, such as purchasing your service.
103103
compares the two analytics services.
104104

105105

106+
## Web analytics learning checklist
107+
<i class="fa fa-check-square-o"></i>
108+
Add Google Analytics or Piwik to your application. Both are free and while
109+
Piwik is not as powerful as Google Analytics you can self-host the application
110+
which is the only option in many environments.
111+
112+
<i class="fa fa-check-square-o"></i>
113+
Think critically about the factors that will make your application successful.
114+
These factors will vary based on whether it's an internal enterprise app,
115+
an e-commerce site or an information-based application.
116+
117+
<i class="fa fa-check-square-o"></i>
118+
Add metrics generated from your web traffic based on the factors that drive
119+
your application's success. You can add these metrics with either some custom
120+
code or with a hosted web analytics service.
121+
122+
<i class="fa fa-check-square-o"></i>
123+
Continuously reevaluate whether the metrics you've chosen are still the
124+
appropriate ones defining your application's success. Improve and refine the
125+
metrics generated by the web analytics as necessary.
126+
127+
106128
### What's the next topic you want to learn about?

source/content/pages/09-security/0903-web-security.markdown

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ choice2text: How do I integrate external APIs into my app?
1111
choice3url: /logging.html
1212
choice3icon: fa-align-left fa-inverse
1313
choice3text: How can I log events that occur while the app is running?
14-
choice4url: /monitoring.html
15-
choice4icon: fa-bar-chart-o fa-inverse
16-
choice4text: What tools should I use for monitoring the live web app?
14+
choice4url: /about-author.html
15+
choice4icon: fa-user
16+
choice4text: Who created Full Stack Python?
1717

1818

1919
# Web Application Security
@@ -57,4 +57,32 @@ securing Linux distributions.
5757
specification.
5858

5959

60+
## Web security learning checklist
61+
<i class="fa fa-check-square-o"></i>
62+
Read and understand the major web application security flaws that are
63+
commonly exploited by malicious actors. These include cross-site request
64+
forgery (CSRF), cross-site scripting (XSS), SQL injection and session
65+
hijacking. The
66+
[OWASP top 10 web application vulnerabilities list](https://www.owasp.org/index.php/Top_10_2013-Top_10)
67+
is a great place to get an overview of these topics.
68+
69+
<i class="fa fa-check-square-o"></i>
70+
Determine how the framework you've chosen mitigates these vulnerabilities.
71+
72+
<i class="fa fa-check-square-o"></i>
73+
Ensure your code implements the mitigation techniques for your framework.
74+
75+
<i class="fa fa-check-square-o"></i>
76+
Think like an attacker and actively work to break into your own system. If
77+
you do not have enough experience to confidently break the security consider
78+
hiring a known white hat attacker. Have her break the application's security,
79+
report the easiest vulnerabilities to exploit in your app and help implement
80+
protections against those weaknesses.
81+
82+
<i class="fa fa-check-square-o"></i>
83+
Recognize that no system is ever totally secure. However, the more popular
84+
an application becomes the more attractive a target it is to attackers.
85+
Reevaluate your web application security on a frequent basis.
86+
87+
6088
### What topic do you want to learn about next?

source/content/pages/10-misc/1005-change-log.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ the
2424

2525
## 2014
2626
### June
27-
* Added learning checklist for logging.
27+
* Updated logging page with better explanations and content ordering.
28+
* Added learning checklist for logging and web analytics.
2829

2930
### May
3031
* Added link to my O'Reilly Programming blog post on demand for full stack

source/content/pages/10-misc/1007-future-directions.markdown

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ Here are some things I'm actively working on:
4646
* Create learning checklists for every section where it makes sense. The
4747
remaining sections that need checklists are
4848

49-
1. web analytics
5049
1. web application security
5150

5251
* After those updates are done I'll go back through and apply visuals to

web-analytics.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,23 @@ <h2>Web analytics resources</h2>
133133
compares the two analytics services.</p>
134134
</li>
135135
</ul>
136+
<h2>Web analytics learning checklist</h2>
137+
<p><i class="fa fa-check-square-o"></i>
138+
Add Google Analytics or Piwik to your application. Both are free and while
139+
Piwik is not as powerful as Google Analytics you can self-host the application
140+
which is the only option in many environments.</p>
141+
<p><i class="fa fa-check-square-o"></i>
142+
Think critically about the factors that will make your application successful.
143+
These factors will vary based on whether it's an internal enterprise app,
144+
an e-commerce site or an information-based application.</p>
145+
<p><i class="fa fa-check-square-o"></i>
146+
Add metrics generated from your web traffic based on the factors that drive
147+
your application's success. You can add these metrics with either some custom
148+
code or with a hosted web analytics service.</p>
149+
<p><i class="fa fa-check-square-o"></i>
150+
Continuously reevaluate whether the metrics you've chosen are still the
151+
appropriate ones defining your application's success. Improve and refine the
152+
metrics generated by the web analytics as necessary.</p>
136153
<h3>What's the next topic you want to learn about?</h3>
137154
<div class="row">
138155
<div class="col-md-3">

web-application-security.html

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,28 @@ <h2>Security Resources</h2>
9090
specification.</p>
9191
</li>
9292
</ul>
93+
<h2>Web security learning checklist</h2>
94+
<p><i class="fa fa-check-square-o"></i>
95+
Read and understand the major web application security flaws that are
96+
commonly exploited by malicious actors. These include cross-site request
97+
forgery (CSRF), cross-site scripting (XSS), SQL injection and session
98+
hijacking. The
99+
<a href="https://www.owasp.org/index.php/Top_10_2013-Top_10">OWASP top 10 web application vulnerabilities list</a>
100+
is a great place to get an overview of these topics.</p>
101+
<p><i class="fa fa-check-square-o"></i>
102+
Determine how the framework you've chosen mitigates these vulnerabilities.</p>
103+
<p><i class="fa fa-check-square-o"></i>
104+
Ensure your code implements the mitigation techniques for your framework. </p>
105+
<p><i class="fa fa-check-square-o"></i>
106+
Think like an attacker and actively work to break into your own system. If
107+
you do not have enough experience to confidently break the security consider
108+
hiring a known white hat attacker. Have her break the application's security,
109+
report the easiest vulnerabilities to exploit in your app and help implement
110+
protections against those weaknesses.</p>
111+
<p><i class="fa fa-check-square-o"></i>
112+
Recognize that no system is ever totally secure. However, the more popular
113+
an application becomes the more attractive a target it is to attackers.
114+
Reevaluate your web application security on a frequent basis.</p>
93115
<h3>What topic do you want to learn about next?</h3>
94116
<div class="row">
95117
<div class="col-md-3">
@@ -119,9 +141,9 @@ <h3>What topic do you want to learn about next?</h3>
119141
</div>
120142
<div class="col-md-3">
121143
<div class="well select-next">
122-
<a href="/monitoring.html" class="btn btn-success btn-full"><i class="fa fa-bar-chart-o fa-inverse fa-2x"></i></a>
144+
<a href="/about-author.html" class="btn btn-success btn-full"><i class="fa fa-user fa-2x"></i></a>
123145
<p class="under-btn">
124-
What tools should I use for monitoring the live web app?
146+
Who created Full Stack Python?
125147
</p>
126148
</div>
127149
</div>

0 commit comments

Comments
 (0)