# ActionScript Client Authentication when using FMLE Wowza Authentication

**URL:** <https://community.wowza.com/t/actionscript-client-authentication-when-using-fmle-wowza-authentication/33868>\
**Category:** Wowza Streaming Engine\
**Created:** [August 6, 2011, 3:34am UTC](https://community.wowza.com/t/actionscript-client-authentication-when-using-fmle-wowza-authentication/33868 "2011-08-06T03:34:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajiv\_Trehan](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@Rajiv\_Trehan](https://community.wowza.com/u/Rajiv_Trehan)\
**Post date:** [August 6, 2011, 3:34am UTC](https://community.wowza.com/t/actionscript-client-authentication-when-using-fmle-wowza-authentication/33868/1 "2011-08-06T03:34:50Z")

</div>

We are testing netDNA live streaming zones. These use FMLE authentication so we can provide user/password credentials for Flash Media Encoder. However, we cannot authenticate from Flash AS2/AS3.

connect(rtmp, user, password):

On Connect:

onConnectStatus

info[level]=status

info

```auto
=NetConnection.Connect.Success
info[description]=Connection succeeded.
Then on NetStream:
onConnectStatus
info[level]=error
info[code]=NetStream.Publish.Failed
info[description]=Not authorized to publish
info[clientid]=1430554591
We do not have this issue with EC2 and our own server... I guess different authentication module.

```

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 22, 2011, 8:53pm UTC](https://community.wowza.com/t/actionscript-client-authentication-when-using-fmle-wowza-authentication/33868/2 "2011-08-22T20:53:08Z")

</div>

I’m not exactly sure what you are asking, but we have several security options. The MediaSecurity package has ModuleRTMPAuthenticate:

[https://www.wowza.com/docs/media-security-overview](https://www.wowza.com/docs/media-security-overview))

Or these similar options:

[https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2](https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2)

[https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2](https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2)

If you are developing something or extending one of the above, you can get userAgent with client.getFlashVer() in onConnect, so you can tell if the client is an encoder that you want to allow.

Richard

---

<div class="post-metadata">

**Author:** ![Rajiv\_Trehan](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@Rajiv\_Trehan](https://community.wowza.com/u/Rajiv_Trehan)\
**Post date:** [August 22, 2011, 6:33pm UTC](https://community.wowza.com/t/actionscript-client-authentication-when-using-fmle-wowza-authentication/33868/3 "2011-08-22T18:33:01Z")

</div>

I am trying to publish video stream using Flash AS2.

We are using NetNDA. They have username/password Authentication. I assume your standard module; but do not know.

The connect(rtmp, user, password) that we use for other instances does not work.

NetDNA are also looking at this issue. I will see if they can confirm the Authentication model.

Rajiv

---

<div class="post-metadata">

**Author:** ![Sean\_Montgomery](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Sean\_Montgomery](https://community.wowza.com/u/Sean_Montgomery)\
**Post date:** [December 15, 2011, 8:47am UTC](https://community.wowza.com/t/actionscript-client-authentication-when-using-fmle-wowza-authentication/33868/4 "2011-12-15T08:47:51Z")

</div>

Hey Rajiv,

Did you ever get this working? Having the same problem as you.

Sean
