# HTTPLiveStreamRecord tutorial does not show how to record with a non-admin username

**URL:** <https://community.wowza.com/t/httplivestreamrecord-tutorial-does-not-show-how-to-record-with-a-non-admin-username/45119>\
**Category:** Wowza Streaming Engine\
**Created:** [August 26, 2015, 2:43am UTC](https://community.wowza.com/t/httplivestreamrecord-tutorial-does-not-show-how-to-record-with-a-non-admin-username/45119 "2015-08-26T02:43:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![todafuture\_todafutur](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@todafuture\_todafutur](https://community.wowza.com/u/todafuture_todafutur)\
**Post date:** [August 26, 2015, 2:43am UTC](https://community.wowza.com/t/httplivestreamrecord-tutorial-does-not-show-how-to-record-with-a-non-admin-username/45119/1 "2015-08-26T02:43:13Z")

</div>

If I want to record live stream using HTTPLiveStreamRecord with a non-admin username and password, how can I do it?

Thank you.

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [August 26, 2015, 6:16am UTC](https://community.wowza.com/t/httplivestreamrecord-tutorial-does-not-show-how-to-record-with-a-non-admin-username/45119/2 "2015-08-26T06:16:30Z")

</div>

To enable unauthenticated access to this HTTP Provider, open the VHost.xml file in a text editor and change the AuthenticationMethod property value to none. This isn’t recommended if you’ll be accessing the web-based UI from a remote computer.

```auto
<HTTPProvider>
	<BaseClass>com.wowza.wms.livestreamrecord.http.HTTPLiveStreamRecord</BaseClass>
	<RequestFilters>livestreamrecord*</RequestFilters>
	<AuthenticationMethod>none</AuthenticationMethod>
</HTTPProvider>

```

Instead of accessing the web-based UI from a remote computer you can use URL queries

[Recording live streams using URL queries](https://www.wowza.com/docs/how-to-record-live-streams-httplivestreamrecord%28HTTPLiveStreamRecord%29#livestreamrecordhttpprovider)

I hope this answers your question.

Salvadore

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [August 27, 2015, 6:41am UTC](https://community.wowza.com/t/httplivestreamrecord-tutorial-does-not-show-how-to-record-with-a-non-admin-username/45119/3 "2015-08-27T06:41:41Z")

</div>

You can create your own authentication method for Live Stream Record.

1: Create new file in /conf called **Authentication.xml**

```auto
<Method>
        <Name>test-digest</Name>
	<Description>Test Digest Authentication</Description>
	<Class>com.wowza.wms.authentication.AuthenticateDigest</Class>
	<Properties>
		<Property>
	        <Name>passwordFile</Name>
		<Value>${com.wowza.wms.ConfigHome}/conf/lsr.password</Value>
		</Property>
		<Property>
		<Name>realm</Name>
		<Value>Live Stream Record Realm</Value>
		</Property>
	</Properties>
</Method>

```

1. Alter your VHost.xml file and change the livestreamrecord http provider as follows:

```auto
<HTTPProvider> 
<BaseClass>com.wowza.wms.livestreamrecord.http.HTTPLiveStreamRecord</BaseClass> 
<RequestFilters>livestreamrecord*</RequestFilters> 
<AuthenticationMethod>test-digest</AuthenticationMethod> 
</HTTPProvider>

```

You will create a file called lsr.password and add your username and password as you would normally do in the admin.password file.

Restart Wowza and test the manager and livestreamrecord module.

Regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [September 11, 2015, 7:38am UTC](https://community.wowza.com/t/httplivestreamrecord-tutorial-does-not-show-how-to-record-with-a-non-admin-username/45119/4 "2015-09-11T07:38:07Z")

</div>

You’re welcome. I hope it helps answer your question.

Regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![todafuture\_todafutur](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@todafuture\_todafutur](https://community.wowza.com/u/todafuture_todafutur)\
**Post date:** [August 26, 2015, 11:47pm UTC](https://community.wowza.com/t/httplivestreamrecord-tutorial-does-not-show-how-to-record-with-a-non-admin-username/45119/5 "2015-08-26T23:47:58Z")

</div>

That did not answer the question. The question is to record live stream using HTTPLiveStreamRecord with **a non-admin username and password**.

none is no username .

However, it is probably not necessary. It is probably better to make a script in the server side and control all recordings with admin account.

---

<div class="post-metadata">

**Author:** ![todafuture\_todafutur](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@todafuture\_todafutur](https://community.wowza.com/u/todafuture_todafutur)\
**Post date:** [August 28, 2015, 1:52am UTC](https://community.wowza.com/t/httplivestreamrecord-tutorial-does-not-show-how-to-record-with-a-non-admin-username/45119/6 "2015-08-28T01:52:40Z")

</div>

Thank you for your answer. It is nice to know that.
