Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

I'm currently investigating Haskell as a platform for secure web development. I'm leaning toward happstack for the web framework part, but I'm also investigating yesod and snap.

My gut feeling says that the way the language works (especially the combination of full purity and a powerful static type system) makes it an excellent choice, security-wise, and the frameworks themselves claim to be exceptionally secure by removing typical security issues and pitfalls found in other stacks.

However, I haven't been able to find any resources to back up this assumption, so what I'm looking for is security reports, research papers, or even informal documents, about security aspects of the Haskell toolchain (particularly GHC and the GHC RTS) and the aforementioned web frameworks (happstack, snap, yesod, and possibly others that may be suitable).

Has anyone performed security audits on either of these? Is there any documented theoretical or practical proof of the robustness and soundness of these tools? Are there any high-profile websites or applications running on either of these frameworks, and what is their security record?

share|improve this question
    
I think safe haskell is a good addition to the discussion, yet again not directly answering your point. –  mhitza Oct 16 '13 at 1:43
add comment

1 Answer

This is a bit different from what you were asking for, but it might be of interest to you:

If you enjoy research papers, you might enjoy reading the following paper, which uses Haskell to provide certain security guarantees about web applications:

And see also the Ur/Web project, which is a functional language and associated system used for web programming. The functional language is used to provide strong security guarantees about the resulting web application and to help web developers avoid security problems in their web application. If you're looking for research papers, see the following academic papers (warning: they are heavy going):

You might find it easier to start with the Ur/Web tutorial instead of the latter two papers above.

share|improve this answer
    
You are right, it's not exactly what I was looking for, but good reading still. Thanks! –  tdammers Apr 28 '12 at 13:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.