Funded by MINECO (ref. TIN2017-83494-R), this project is intended to design and develop of a dynamic security management system for mobile devices, aimed at improving security both for end devices (and users) and the environment where they are working on. With acronym MDSM ('Mobile device Dynamic Security Management') and intended to operate in a real network environment.