Encrypted messages in the OSSN database

Tom van Leeuwen Posted in Component Development 6 years ago

Dear all,

Is it possible to enable encryption for the messages that have been sent through the messenger/chat component? Currently they are stored in plain-text on the OSSN database. Or is there perhaps any other way to set up a secure environment for the storage of messages?

Replies
Dutch Tom van Leeuwen Replied 6 years ago

Thanks, to both of you! I will look into this and see if it works.

us Rishi B Replied 6 years ago

As Arsalan said, this can be done quite simply by editing the OssnMessages component. You should only need to edit 2 functions in components/OssnMessages/classes/OssnMessages.php: OssnMessages->send() and OssnMessages->get().

Indonesian Arsalan Shah Replied 6 years ago

@Tom, you should look into the OssnMessages component, you just need to encrypt the messages upon the sending to database and decrypt after fetching them