Added basic security API.
Added field security possibilities.