# How to make my video not downloadable

**URL:** <https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862>\
**Category:** Wowza Streaming Engine\
**Created:** [July 25, 2013, 1:31am UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862 "2013-07-25T01:31:19Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seyit\_Kaya](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Seyit\_Kaya](https://community.wowza.com/u/Seyit_Kaya)\
**Post date:** [July 25, 2013, 1:31am UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/1 "2013-07-25T01:31:19Z")

</div>

i a set up my wowza server. i start to upload my videos. i am using rtmp protocol to wath my video “rtmp://wowza adress/vod/”. there is any problem video’s are watched, but i notice users can download my video, i dont want to this. i want users able to watch the videos only. what can i do?

---

<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:** [July 25, 2013, 7:11am UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/2 "2013-07-25T07:11:45Z")

</div>

Have a look at this article:

[How to combat hotlinking your Adobe Flash SWF file](https://www.wowza.com/docs/how-to-combat-hotlinking-your-adobe-flash-swf-file)

Salvadore

---

<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:** [July 25, 2013, 8:49pm UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/3 "2013-07-25T20:49:20Z")

</div>

You must have made your Application.xml /Streams /StorageDir empty, because Wowza is looking for the .smil file here:

/usr/local/WowzaMediaServer/applications/vod/streams

Which is where a Wowza application looks for content when StorageDir is empty (it is the old FMS standard path).

If you have the .smil in the [install-dir]/content folder, then you either need to point to that in the Application.xml /Streams /StorageDir (as it was in the original file), or put the .smil and the files where Wowza is looking for it: /usr/local/WowzaMediaServer/applications/vod/streams

Richard

---

<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:** [July 25, 2013, 9:41pm UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/4 "2013-07-25T21:41:14Z")

</div>

Wowza is looking in this folder:

/usr/local/WowzaMediaServer/applications/vod/streams/ **_definst_**

Richard

---

<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:** [July 25, 2013, 9:55pm UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/5 "2013-07-25T21:55:55Z")

</div>

You have to follow the guidance in the [Security Overview](https://www.wowza.com/docs/how-to-protect-rtmp-streaming-using-securetoken-modulesecuretoken%28ModuleSecureToken%29) to enable SecureToken with RTMPE or RTMPS

Richard

---

<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:** [July 26, 2013, 1:34am UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/6 "2013-07-26T01:34:29Z")

</div>

SecureToken works without RTMPE but it is not as secure.

Richard

---

<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:** [July 27, 2013, 12:00pm UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/7 "2013-07-27T12:00:33Z")

</div>

Do you have requireSecureConnection enabled? You are not using RTMPE, so if you have requireSecureConnection enabled, the connection will fail unless you are using RTMPE or RTMPS. So try change rtmp:// to rtmpe://

Richard

---

<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:** [July 27, 2013, 1:04pm UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/8 "2013-07-27T13:04:01Z")

</div>

Let me take a closer look. I know you are making a lot of changes, but I need to see a snapshot of what you are doing. So, re-start Wowza, then playback one of the individual streams in your secured player, then playback the smil. Also download a stream in this test.

Then zip up and send /conf folder and the current access log showing the above re-start and tests to support@wowza.com. Please be sure the /conf folder you send is unaltered after this test, what you send should be exactly what was in place during the test.

Include a link to this thread for reference.

Richard

---

<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:** [July 25, 2013, 9:40am UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/9 "2013-07-25T09:40:03Z")

</div>

Also see this article:

[How to protect RTMP streaming using SecureToken (ModuleSecureToken)](https://www.wowza.com/docs/how-to-protect-rtmp-streaming-using-securetoken-modulesecuretoken%28ModuleSecureToken%29)

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:** [July 25, 2013, 3:45pm UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/10 "2013-07-25T15:45:07Z")

</div>

You want to set a path. By default it is:

```auto
<StorageDir>${com.wowza.wms.context.VHostConfigHome}/content</StorageDir>

```

With this path you will need to put the movie file and .smil file in the [install-dir]/content folder.

Also, the [hotlink denial module](https://www.wowza.com/docs/how-to-combat-hotlinking-your-adobe-flash-swf-file) keeps people from embedding your video into their own website but to keep them from downloading the video file, you will need to use the [SecureToken](https://www.wowza.com/docs/how-to-protect-rtmp-streaming-using-securetoken-modulesecuretoken%28ModuleSecureToken%29) module.

Salvadore

---

<div class="post-metadata">

**Author:** ![Seyit\_Kaya](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Seyit\_Kaya](https://community.wowza.com/u/Seyit_Kaya)\
**Post date:** [July 25, 2013, 10:38am UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/11 "2013-07-25T10:38:59Z")

</div>

Hi thanks for answer. i did you say. But my videos arent playable anymore. i look the log file and i see at the and of file

Filename.smil open: java.io.FileNotFoundException: /usr/local/WowzaMediaServer/applications/vod/streams/_definst_/Filename.smil (No such file or directory)

what is the meanning of that?

i used smil file play each video file. it was working but now not working.

My smil file is

---

<div class="post-metadata">

**Author:** ![Seyit\_Kaya](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Seyit\_Kaya](https://community.wowza.com/u/Seyit_Kaya)\
**Post date:** [July 25, 2013, 1:25pm UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/12 "2013-07-25T13:25:38Z")

</div>

Thank for answer Richard.

My Application.xml is

default

${com.wowza.wms.context.VHostConfigHome}/keys

like that. and i copy the smil and mp4 file to /usr/local/WowzaMediaServer/applications/vod/streams folder my videos are’nt played

---

<div class="post-metadata">

**Author:** ![Seyit\_Kaya](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Seyit\_Kaya](https://community.wowza.com/u/Seyit_Kaya)\
**Post date:** [July 25, 2013, 1:31pm UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/13 "2013-07-25T13:31:40Z")

</div>

> Have a look at this article:
> 
> [How to combat hotlinking your Adobe Flash SWF file](https://www.wowza.com/docs/how-to-combat-hotlinking-your-adobe-flash-swf-file)
> 
> Salvadore

i did all of i read but what’s wrong my videos are not streaming. is rtmp right way to mp4 stream?

---

<div class="post-metadata">

**Author:** ![Seyit\_Kaya](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Seyit\_Kaya](https://community.wowza.com/u/Seyit_Kaya)\
**Post date:** [July 25, 2013, 1:46pm UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/14 "2013-07-25T13:46:55Z")

</div>

i m sorry Richard.

i copy videos are smil files to /usr/local/WowzaMediaServer/applications/vod/streams/_definst_ folder i can watch the videos but still videos are downloadable with download manager

---

<div class="post-metadata">

**Author:** ![Seyit\_Kaya](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Seyit\_Kaya](https://community.wowza.com/u/Seyit_Kaya)\
**Post date:** [July 25, 2013, 2:00pm UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/15 "2013-07-25T14:00:58Z")

</div>

Thanks for your answer

> You have to follow the guidance in the [Security Overview](https://www.wowza.com/docs/how-to-protect-rtmp-streaming-using-securetoken-modulesecuretoken%28ModuleSecureToken%29) to enable SecureToken with RTMPE or RTMPS
> 
> Richard

i dont have rtmpe module because i’m using wowza trial version 1 month. can i use SecureToken with rtmp?

---

<div class="post-metadata">

**Author:** ![Seyit\_Kaya](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Seyit\_Kaya](https://community.wowza.com/u/Seyit_Kaya)\
**Post date:** [July 27, 2013, 12:03am UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/16 "2013-07-27T00:03:58Z")

</div>

i solved the problem

my videos are i not downloadble anymore.

But when i use this smil code my videos are downladable again

---

<div class="post-metadata">

**Author:** ![Seyit\_Kaya](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Seyit\_Kaya](https://community.wowza.com/u/Seyit_Kaya)\
**Post date:** [July 27, 2013, 4:03am UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/17 "2013-07-27T04:03:43Z")

</div>

i used secureconnection before but now i disable. i solved my problem but i have a new problem i wrote above. Please help for this

---

<div class="post-metadata">

**Author:** ![Seyit\_Kaya](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Seyit\_Kaya](https://community.wowza.com/u/Seyit_Kaya)\
**Post date:** [July 27, 2013, 5:26am UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/18 "2013-07-27T05:26:06Z")

</div>

Thanks. i send an e-mail to support@wowza.com i will add link conf and log file link

---

<div class="post-metadata">

**Author:** ![Seyit\_Kaya](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Seyit\_Kaya](https://community.wowza.com/u/Seyit_Kaya)\
**Post date:** [July 27, 2013, 3:02pm UTC](https://community.wowza.com/t/how-to-make-my-video-not-downloadable/40862/19 "2013-07-27T15:02:43Z")

</div>

i can stream this code my video

jwplayer(‘player\_362’).setup({

file:“rtmpe://93.186.117.12:1935/vod/Geometri\_Seyit\_Kaya\_01\_Acilar.mp4”,

width: “920”,

height: “518”,

image: “jwplayer/preview.png”,

autostart: “false”,

aboutlink:“[http://www.arkeuzaktanegitim.com.tr](http://www.arkeuzaktanegitim.com.tr)”,

abouttext:“Arke Uzaktan Eğitim”,

});

// ]]\>

But i’cant stream use this code

jwplayer(‘player\_362’).setup({

file:“rtmpe://Wowza Adress/vod/smil:filename.smil”,

width: “920”,

height: “518”,

image: “jwplayer/preview.png”,

autostart: “true”,

});

My log file have exception.

2013-07-28 01:43:16 EEST comment server ERROR 500 - MediaReaderFactory.getInstance: java.lang.ClassCastException - - - 34056.198

What is the meanning of that?
