RTMP - Stream name/key AUTH method

How can i setup a solution that requires a specific stream name to be allowed to stream to an application.

Setting up a solution like Facebook live, only allowing specific stream keys:

RTMP Sources set to :Open (no authentication required)

Allowing only streams with the following (example) rtmp:

rtmp://127.0.0.1/LiveApplication/3954395849856945?ds=1&s_sw=0&a=DHU234guh3

Thanks for any tips