Almost every software system must include a security module to authenticate users and to authorize which elements of the system can be accessed by each user. This paper describes a reusable security software module that follows the Role Based Access Control model (RBAC), but implementing fine grained roles and grouping them into “security profiles”. This leads to a great flexibility to configure the security of an application by selecting the operations allowed to each profile, and later, by registering the users in one or