|

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

  • My Thoughts on the Samsung Galaxy Note II

    Recently I had the good fortune, through work, of playing with the Samsung Galaxy Note II. I had 2 weeks to mess around with it, run some tests and get a good idea of how the phone functioned. Here are my thoughts.

  • Writing a User log-in

    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!Here is the user login code I have been promising. It’s an image so it looks nice. You can download it…

  • |

    WordPress and .gitignore

    Updates have been added after the jump! In the coming weeks I’ll likely put a lot of my own personal code (as in, not code people pay me to write) in public repos on Github. A lot of my work is WordPress related so I’ll make a local repo at the root of some WordPress…

  • |

    Can You Go 2 Hours without a Screen Every Day?

    When I was down in Florida, my brother and our friends told me about something they started doing every day: 2 Hours of No Screen Time. The idea is that for 2 hours every day, they forget about their phones, their computers, the TV, and any other screen they otherwise spend too much time in front…

  • |

    Droid Does

    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! Those of you who know me might be surprised that I got a Droid less than one year after I…

  • |

    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…