Skip to main content
Participant
September 29, 2011
Answered

blocking http delivery of f4v videos on streams directory (and still allowing HLS)

  • September 29, 2011
  • 1 reply
  • 641 views

I have successfully configured FMS 4.5(on windows) to do the following:

  • deliver progressive download videos at e:\fmsvids\localuser\fms-web\progressive\user-id\video.f4v
  • deliver rtmp/streaming videos at e:\fmsvids\localuser\fms-web\streams\user-id\video.f4v
  • deliver videos in both directories via HLS.

I need to disable delivery of the full video file in e:\fmsvids\localuser\fms-web\streams\user-id\ (delivering via the m3u8 is fine).

I have tried the following without success:

  • add 'allow from 127.0.0.1' 
  • add deny all IUSR ntfs permissions (apache continues to serve the f4vs). 

What can be done to accompish my goals?  I'd like to ensure the security of streaming videos and offer iOS compatibility (otherwise, why even have FMS?). Below are the location directives in my httpd.conf for your consideration.

Thank you.

----------------------------------------

Alias /progressive "E:/fmsvids/localuser/fms-web/progressive"

<location /progressive>

    HLSHttpStreamingEnabled true

    HLSMediaFileDuration 8000

    HttpStreamingContentPath "E:/fmsvids/localuser/fms-web/progressive"

    HLSFmsDirPath ".."

    Options -Indexes FollowSymLinks

</location>

Alias /streams "E:/fmsvids/localuser/fms-web/streams"

<location /streams>

    HLSHttpStreamingEnabled true

    HLSMediaFileDuration 8000

    HttpStreamingContentPath "E:/fmsvids/localuser/fms-web/streams"

    HLSFmsDirPath ".."

    Options -Indexes FollowSymLinks

          allow from 127.0.0.1

</location>

This topic has been closed for replies.
Correct answer jamesKSR

chalk this up to missing some of adobe's documentation.  one has to define the vod_directory in the fms.ini file, then edit the hls-vod location path in the httpd.conf.   the directives I added above were unecessary.

1 reply

jamesKSRAuthorCorrect answer
Participant
September 30, 2011

chalk this up to missing some of adobe's documentation.  one has to define the vod_directory in the fms.ini file, then edit the hls-vod location path in the httpd.conf.   the directives I added above were unecessary.