Wowza Community

Password in custom encryption

Good afternoon.

We use Wowza Streaming Engine 4.1 and now we need to modify one function. As I know, users that can publish streams are in publish.password file in original view. For ex.:

login - admin

password - admin

But we need to connect this with mysql db. In this db we save strings login and password in md5 +salt. Ok, in easy variant i can export 2 fields login + pass in publish.password, but in this case they will be with encryption. And user, when it want to stream will be write in software login + password in original view. But in our file password is in md5 + salt view, and of course, user can not stream.

Save this string in open view I think not good idea.

And now we have a problem with 2 variant:

  1. To store login + md5(password) in publish.password file

  2. Connect wowza application to mysql db

But in any case login will be store in open view, password in md5 + salt for ex. But when user want to stream, he write his login and password in open case. Please, help us to resolve this problem! Thank you!

Hi,

Have you investigated using the ModuleRTMPAuthenticate Module? You can then store publisher credentials in MySQL. If you use a two way encryption then that should be quite secure. MySQL itself has a number of encryption functions that you could apply to the password field.

Paul

Hi,

Have you investigated using the ModuleRTMPAuthenticate Module? You can then store publisher credentials in MySQL. If you use a two way encryption then that should be quite secure. MySQL itself has a number of encryption functions that you could apply to the password field.

Paul

Paul, thank you a lot! I’ll try to do this, but as I said prev. I don’t know anything about compile wowza module in java.

Paul, thank you, but I have some problems…

I download and installed Eclipse luna, installed from repo wowza plugin but I don’t have wowza streaming engine on my windows PC. My perpetual version is work on linux os. And I don’t know how to compile this module…

Paul, could you help me in this problem?

As you remember, we saved login - password (pass in md5) in database. But in wowza gocoder for ex., we need to write login password in native case, without md5. I understand this code of module, but I could’t compile it. It will be perfect if general vars like login, password (for database), ip of db will be in text field in setting of application.xml. Is it real? Thank you once again for your help! Waiting for an answer