Jan
5
Rules, from Jim Wildman
January 5, 2011 |
I recently made a potentially serious mistake. I updated a web site and left it in a world writable state (i.e, anyone in the world could change it). Fortunately, a good friend noticed and fixed it temporarily while I scurried back to my computer to implement a permanent solution. Naturally one of the things on the web site is a page (by me) discussing the importance of a security mindset.
Mistakes are only useful if you learn from them, so I wrote up my thoughts on the subject. In summation, I set up rules, then broke some of them. Fortunately I had multiple layers of defense (stop loss rules) which made recovery easy.
In the bigger picture of my life, I see that most of the recent (last 5 years) decisions that I now consider mistakes are of the same sort. I had a rule or principle in place, then ignored it. At my age (50+) I'm not really getting surprised by much anymore; when I make a mistake, it's because I ignore what I know and charge ahead.
For example.. I REALLY wanted xyz, so I bought it despite the price, condition, etc, then did not like it, did not use it, broke it, etc. I was REALLY in a big hurry…broke something, ignored the rules, etc I was NOT going to ask for help/go back to the store again
So what strategies are there for stop loss rules, or layers of defense in life? How do you implement them without turning into a cold, heartless SOB? How do you identify reactionary rules (I'll NEVER do that again) that are not sustainable?
Time for some beginning of the year introspection. Here's what I wrote about this on my blog:
As I note in the overview, one of the things I want to focus on is security by design. Nice thought.
I switched from my hand crafted php scripts to Dokuwiki for the web site. Shortly after I pushed the web site out to the world, a good friend called me to say that the entire site was world writeable. Ooops… He was kind enough to flip it to read only while I scurried back home to fix it.
Obviously this was not a good outcome. I've spent parts of the last few days analyzing where I went wrong. How or why did I violate my principles?
- I forgot the rules. In the rush to get things done, I forgot to stop and think before I pushed send. The tyranny of the urgent got the best of me.
- I was complacent in my thinking. In the back of my mind, I knew Russ was watching things (or more correctly that his monitoring systems were). He is a very experienced admin and I trust his infrastructure.
- I did not think carefully enough about my actions. Sort of a variation of point #1, but I did not stop to think about what I was doing and the effects it might have.In the end, even if Russ had not caught it, there was little chance of damage (other than egg on my face for a defaced web site). I've designed the site with defense in depth in mind.
- By design, the site is read only. It is the target node of the push. I never edit the site directly and never move information from the site back into the development environment. The content of the site is in a Subversion repo on another machine.
- I can easily repush the site from my secure repo
- The host that the web site runs on is not trusted by any other machine. There are no keys or logins on it that can be used on another machine that I control.
- OS level security in the form of SELinux is enabled.
- Logs are monitored
- The entire environment (OS and all) is snapshotted regularlySo the web site is in at least 3 sandboxes, each a little larger, each with their own monitoring system and recovery system or methodology.
Lessons to learn
- Think
- Use check lists to guide your thinking, especially when doing something new or different
- Have experienced people check your work
- Belt, suspenders, boots, raincoat, umbrella. Many layers work together to cover the gaps of each other
- Not only think before you act, but think about how to recover from a mistake ahead of time.All in all, the best kind of mistake: small, relatively private, easily recoverable but widely applicable.
Nigel Davies writes:
One of the great problems with creating a lot of rules is that it simply gives you more to think about and these are usually not central to the activity itself. I believe that the only answer is to reach such a high level of mastery in a field that one feels an innate sense of revulsion when doing the wrong thing.
Easan Katir comments:
One important word for this topic: checklists. The more items from a list that can be computerized, automated, the better, the routine things, leaving one's mental capital for the important trading decisions .As you know, many working with high risk activities use checklists: pilots, some surgeons, etc..
Comments
WordPress database error: [Table './dailyspeculations_com_@002d_dailywordpress/wp_comments' is marked as crashed and last (automatic?) repair failed]
SELECT * FROM wp_comments WHERE comment_post_ID = '5723' AND comment_approved = '1' ORDER BY comment_date
Archives
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- Older Archives
Resources & Links
- The Letters Prize
- Pre-2007 Victor Niederhoffer Posts
- Vic’s NYC Junto
- Reading List
- Programming in 60 Seconds
- The Objectivist Center
- Foundation for Economic Education
- Tigerchess
- Dick Sears' G.T. Index
- Pre-2007 Daily Speculations
- Laurel & Vics' Worldly Investor Articles