Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have written a web service in Erlang using mochiweb and jiffy and now face the task of deploying it to production. Since it is going to be open to the public I was wondering how secure Erlang actually is, since this is something that seems to be more or less never talked about.

Erlang itself is a VM language, so should be (hopefully) fairly secure, but many extensions (like jiffy) have NIFs written in C and thus are more prone to buffer overflows and the like if not written carefully and tested thoroughly.

So basically, how should I go about securing an Erlang server on Ubuntu? Restricted user? AppArmor? Or is this overkill?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I'd wager that Erlang itself is orders of magnitude more likely to be secure than the code that's written in it. As far as securing it goes, it's no different to anything else -- you restrict privileges to the minimum necessary and monitor the bejesus out of it. Exact implementation details are up to your discretion, experience, and paranoia.

share|improve this answer

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.