Short, Clean URIs Are More Secure

There are lots of reasons to use clean, short, readable URIs. Search engines like them. People have some hope of dictating or typing them correctly. Email clients are less likely to mung or truncate them. They give people navigational cues and an extra way to navigate a website. You can even fit them on one billboard (unlike say this one).

One generally ignored advantage is security.

Many phishing, XSS, CSRF and all URI exploits rely at least in part in part on putting stuff the user does not understand in the URI.

Here are a few real URIs from popular websites all found inside a minute within 3 clicks of the home page:

Having let people get used to that sort of garbage from sites that they should be able to trust, you can’t really be surprised that normal people can’t tell the difference between an XSS attack hidden in URL encoded JavaScript and a real, valid, safe URI. Even abnormal people who can decode a few common URL encodings in their heads are not really scrolling across the hidden nine tenths of the address bar to look at that lot.

It won’t help everybody. There are always going to be people who are happy to believe that their bank sends them email from a free address like, and sufficiently sophisticated social engineering is always going to work on some people, some of the time, but the sites that are particularly popular with phishing attacks are making it unnecessarily easy.

If commonly used sites had short, sensible URIs it would not take genius on the part of slightly cynical users to notice that every real bank URI they had seen in the past looked something like so the 300 character monstrosity full of percent symbols and ampersands that they were being presented with is a little on the fishy side.

Now, go and tidy your room.

50 Responses to “Short, Clean URIs Are More Secure”

  1. Some Guy Ranting » Blog Archive » Following the big dogs on web application security Says:

    […] Stupidly long urls The big dogs love long complicated urls. […]

  2. pirater facebook 2013 Says:

    Greetings I am so delighted I found your weblog, I really found you by error, while I was browsing
    on Aol for something else, Anyways I am here now and would just
    like to say thank you for a fantastic post and a
    all round exciting blog (I also love the theme/design),
    I don’t have time to look over it all at
    the moment but I have saved it and also added in
    your RSS feeds, so when I have time I will be back to read much more, Please do
    keep up the excellent work.

  3. cookies by design discounts coupons Says:

    Very nice post. I just stumbled upon your weblog and wanted to say that I have truly enjoyed surfing around
    your blog posts. In any case I will be subscribing in your feed
    and I hope you write again soon!

  4. Network Marketers Wanted Says:

    Good day! This is kind of off topic but I need some advice from an established blog.
    Is it very hard to set up your own blog? I’m not very techincal but I can figure things out pretty
    fast. I’m thinking about setting up my own but
    I’m not sure where to begin. Do you have any tips or suggestions?

  5. cure insomnia Says:

    Wow that was unusual. I just wrote an incredibly long comment but after I clicked submit my comment didn’t show up.
    Grrrr… welll I’m not writing all that over again. Regardless, just wanted to say superb blog!

    Here is my weblog :: cure insomnia

  6. how to make money from money Says:

    What’s up everybody, here every one is sharing such familiarity, therefore it’s
    pleasant to read this weblog, and I used
    to pay a quick visit this weblog everyday.

    Feel free to surf to my blog :: how to make money from money

  7. Says:

    What’s up, of course this article is in fact fastidious and I have learned
    lot of things from it on the topic of blogging. thanks.

  8. ways to improve your credit Says:

    Fantastic goods from you, man. I’ve have in mind your stuff prior
    to and you’re simply too wonderful. I actually like what you have bought here,
    certainly like what you are saying and the best way through which you are
    saying it. You are making it entertaining and you still take care of
    to stay it wise. I can’t wait to read much more
    from you. This is actually a terrific website.

    Feel free to surf to my blog: ways to improve your credit

  9. comparing plumbers Says:

    This piece of writing will assist the internet viewers for building up
    new webpage or even a weblog from start to end.

  10. Lilly Says:

    Most kids will groan at the sight of a plate of vegetables or fruit for a snack, but how
    different their reaction is when they. Grow
    your own tomatoes, lettuce, cucumbers, carrots, spinach.
    You may berate yourself because you didn’t handle the
    situations effectively.

    my web site … get back together poems, Lilly,

  11. memorias usb, power bank Says:

    This is a really good tip especially to those fresh to the blogosphere.
    Short but very accurate info… Thank you for sharing this one.
    A must read post!

  12. most prestigious Credit Cards Says:

    Stunning quest there. What occurred after? Good luck!

    Here is my web-site: most prestigious Credit Cards

  13. Blair Says:

    You can correspond with them and find out if they can ship the required model to your place.
    Course 3 ‘ This course covers elementary fire fighting
    and fire prevention. The cost may seem higher than regular villa stay or a hotel but the stay is worth it.

    My web-site … private yacht athens car rental greece [Blair]

  14. Says:

    I am regular reader, how are you everybody? This paragraph posted at this web
    site is actually pleasant.

  15. chatous Says:

    Thanks for sharing your info. I really appreciate your efforts and
    I will be waiting for your further post thank youu once again.

  16. free vector clipart Says:

    Ahaa, its ood dialogue regarding tbis piece of writiing at this place at thuis blog, I have
    read all that, so at this time mee also commenting at this place.

  17. trenirovka u doma Says:

    Amazing issues here. I’m very happy to peer your article. Thanks
    a lot aand I am looking forward to contact you. Willl you kindly drop me a e-mail?

  18. who is dan bilzerian armenian Says:

    Wow! Finally I got a website from where I can genuinely take helpful
    data concerning my study and knowledge.

  19. carti de dragoste scribd Says:

    WOW just what I was searching for. Came here by searching for interest home

  20. jeux pc à telecharger gratuitement Says:

    You could certainly see your skills within the work you write.
    The arena hopes for even more passionate writers such as you who aren’t afraid to say how they believe.
    Always follow your heart.

    My blog - jeux pc à telecharger gratuitement

  21. the ultimate herpes protocol Says:

    I am regular visitor, how are you everybody? This paragraph posted at this site is really

  22. windows 7 boot disk Says:

    Hmm is anyone else experiencing problems with the
    images on this blog loading? I’m trying to determine if its a problem on my end or if it’s the blog.
    Any feedback would be greatly appreciated.

  23. great product Says:

    Every weekend i used to go to see this site,
    because i wish for enjoyment, for the reason that this this web site conations in fact nice funny information too.

  24. Says:

    I am no longer positive the place you’re getting your info, however great topic.
    I needs to spend a while finding out much more or understanding more.
    Thank you for fantastic info I was on the lookout for this info for
    my mission.

  25. best reverb effects pedal Says:

    Hey there this is kinda of off topic but I was wondering if blogs use
    WYSIWYG editors or if you have to manually code with HTML.

    I’m starting a blog soon but have no coding know-how so I wanted to get advice from someone with
    experience. Any help would be enormously appreciated!

  26. Amelia C. Efthimiou Says:

    Everything is very open with a clear clarification of the challenges.
    It was definitely informative. Your website is extremely helpful.
    Thank you for sharing!

  27. Evelyn Says:

    Thank you a lot for sharing this with all folks you really understand what you are talking about!
    Bookmarked. Please also consult wwith my website =). We may have
    a link exchange agreement among us

  28. Margeret I. Egizi Says:

    Yes! Finally something about books.

  29. buy steroids Vermont Says:

    You’re so cool! I don’t suppose I’ve truly read something like this before.
    So great to find somebody wigh a few genuine thoughts on this topic.
    Really.. thanks for starting this up. This website is something that is needed on the internet, someone wih some originality!

  30. solar company Casa Grande Says:

    Hello to every , as I am genuinely eager of reading this webpage’s post to be
    updated regularly. It contains fastidious material.

  31. mens cologne samples Says:

    Nice post. I learn something totally new and challenging on sites
    I stumbleupon everyday. It’s always exciting to read through articles from other writers and practice a little something from other sites.

  32. Rickey Says:

    Hі, after reading this remarkable piece ߋf writing і ɑm too glad tߋ share my experience here with friends.

    Herre іs my web site; money market deposit account (Rickey)

  33. Gus Says:

    Remarkable! Its genuinely remarkable piece of writing, I have got much
    clear idea on the topic of from this paragraph.

  34. best exchange rate Says:

    Your style is very unique compared to other folks I’ve read stuff from.
    Many thanks for posting when you have the opportunity,
    Guess I will just book mark this blog.

  35. madu penyubur kandungan asli Says:

    madu penyubur kandungan asli…

    Some Guy Ranting » Blog Archive » Short, Clean URIs Are More Secure…

  36. como hacer una empresa rentable Says:

    Se trata dee pagos a cuenta que luego se regularizan al hacer la declaración dee
    la renta al año siguiente.

  37. Milton Says:

    It’s Making Me $1,575.90 - $2,556.80 A DAY And You Can Download It Here!

  38. Brian Says:

    Hace un tiempo que mi pareja y yo tenemos la ilusión de montar nuestro unegocio oon line /upero tenemos mil dudas.

  39. Duravit 710264003511090 White Alpine Paiova Paiova Bath Tub 66 7 8 L X 39 3 8 W X 23 5 8 H Says:

    It will require around about per week to get the bucks you may need Duravit 710264003511090 White Alpine Paiova Paiova Bath Tub 66 7 8 L X 39 3 8 W X 23 5 8 H many months he runs out of
    money before he can pay all his bills, and the man’s been making in the shortfall
    by running up charges on his plastic card.

  40. Says:

    Soy Marìa Sànchez y estoy empezando el duelo de mi padre, es lo peor
    que me ha pasado en la vida.

  41. truffle allergy symptoms Says:

    Quality articles or rviews is the crucial to attract the people to go to see the
    website, that’s what this website is providing.

  42. Levné Běžecké Boty Nike Pánské Says:

    There are a number of ridiculous comments above that seem like they were written by grade schoolers. I’m buying an sd40 in two days only because EVERY ounce of research I’ve done on them claims they’re great, reliable guns. Literally, I’ve read a hundred articles by gun review guys who all rave about this gun chewing up any ammo you throw in it with 0 failure.
    Levné Běžecké Boty Nike Pánské

  43. spletne strani Says:

    I love reading through an article that will make men and women think.

    Also, thank you for allowing me to comment!

  44. Best-Hot-tubs Says:

    This post is truly a good one it helos new internet users, who are wishing in favor of blogging.

    Feel free to surf to mmy website: Best-Hot-tubs

  45. fixed tricycle Says:

    Good information. Lucky me I ran across your website by
    chance (stumbleupon). I’ve book marked it for later!

  46. dog Says:

    Thanks for every other informative blog. Where else could
    I get that kind of information written in such a perfect method?
    I have a undertaking that I’m simply now working on,
    and I’ve been at the look out for such info.

  47. dog Says:

    Thanks , I have recently been searching for information approximately this
    subject for a long time and yours is the best I’ve discovered till now.
    However, what in regards to the conclusion? Are you positive concerning the supply?

  48. dog hair Says:

    Thanks for sharing your thoughts about dog nail trimmers.

  49. juegos android multijugador wifi local Says:

    Para un juego tan peculiar como Adaline es increíble
    que hayan conseguido hallar un estilo musical que case tan bien con la estética y el gameplay.

  50. Patrick Says:

    Great beat ! I wish to apprentice while you amend your web site, how can i subscribe for a blog site?
    The account aided me a acceptable deal. I had been tiny bit acquainted of this
    your broadcast offered bright clear idea

Leave a Reply