#201 - support for database security

Implemented functionality based on the google group [discussion](https://groups.google.com/forum/#!topic/ektorp-discuss/ikcoG3PLdyU)