|

Security vs. Usability

Note: This article was published while I was in my early 20s. I was much younger and dumber. Please don't hold it against me. One of the perils of having a 20+ year old website!
Comp Sec

A problem that all web developers people in the computer field face is security. When creating your application, website, server, you have to take into account what kind of security measures you must take to protect yourself and your users. However, you have to make sure that these measures don’t horribly inhibit the users. Twice over the last couple of months I have ran into server trouble where I felt the server disallowing certain actions strongly inhibited my ability to create a good website.

The first occurred in October, while I was creating a website for a client. They wanted to be able to upload images to the server, to add them to the site. This required me to set the permissions on sections of the site to 777 (all can execute). There are numerous web apps out there that do this, and if the programmer does it right, security is not a huge issue. However, the server I was working decided (after years of me using it), they were going to reset the permissions every 6 hours for ‘security’ measures without notifying it’s customers. Never mind that I spent hours debugging a script I knew was working. How can one make a sophisticated web app without being able to change the permissions for more than 6 hours at a time?

More recently, I am working on a website that would send emails through a php script using the standard mail() function. Only, due to ‘security reasons,’ the mail() function is disabled. Now I cannot report bugs automatically, nor can the user use the current contact form. Sure, the mail() function could be exploited, but so can almost anything when dealing with a scripting language. Are they going to disable SQL in fear of SQL injection statements?

The point is that if these servers are going to disable certain, very useful functions, what are they providing as an alternative for their users? They are choosing a little bit more security in exchange for strongly inhibiting their users from creating more user driven web applications.

Similar Posts

  • |

    What to do When Your Credit Card Info is Stolen

    Recently I woke up to an alarming email, possibly from my credit card company, saying there were several unauthorized attempts to use my credit card on various websites. As a general rule I don’t click on links from emails when I’m not 100% sure about them (and maybe I was a little in denial) so…

  • How Multiple Backups Saved 15 Years of Photos

    Over the weekend I had a bit of a scare. I was thinking about my trip to Ireland – a trip I took nearly 15 years ago – and I decided to take a walk down memory lane. Since those photos were on Flickr and I decided to delete Flickr earlier this year, I went…

  • | |

    Automating More, Doing Less

    My yearly theme for 2020 is Depth, which means I want to cut away a lot of stuff I don’t need to do, and really dig in deep on a few select activities – both personal and professional. One of the focus areas is using more tools to my advantage and automating more. This will…

  • |

    I Bought, and Kept, the Soundcore Sleep A20 Earbuds by Anker

    Back in January, I wrote about how I Bought, and Returned, the Ozlo Sleepbuds. I was excited to try a pair of headphones specifically made for sleep, as my AirPods Pro usually hurt my ears (I’m a side sleeper) and fell out. The TL;DR of that post is that they are an incredibly disappointing product…

  • | | |

    Learning HTML and CSS (with My New Book, Out Now!)

    I’ve always been a learn-by-doing kind of guy. Maybe it’s because I’m thinking about other things when something is explained to me, or maybe people are bad at explaining things. But either way, a concept doesn’t really sink in until I do it, or until I see an immediate application for it. When I learned…

  • |

    The 2 year swing

    Note: This article was published while I was in my early 20s. I was much younger and dumber. Please don’t hold it against me. One of the perils of having a 20+ year old website!It is no secret that I am kind of a tech geek. What this means is I ‘need’ lots of cool…