An object of an exemplary embodiment of the present invention is to at least partially overcome the above disadvantages.
Another object of an exemplary embodiment of the present invention is to provide a solution that is easy to use while addressing a wider audience, regardless of the ecosystem used.
According to a first aspect, a method is provided for controlling a data storage device, comprising: upon detecting a use of the device by a user by connection to a computing device, determining whether the user corresponds to an identifier associated with a first user profile including access rights authorizing at least the writing and reading of data in a memory of the data storage device; if it is determined that the user corresponds to the identifier associated with the first user profile, controlling the use of the data storage device according to the first user profile; and if it is determined that the user does not correspond to the identifier associated with the first user profile, controlling the use of the data storage device according to a second user profile including access rights which permit the writing of data in the memory of the data storage device and which prohibit at least the reading of data, in the memory of the data storage device, that were not previously written by the user.