blocking http delivery of f4v videos on streams directory (and still allowing HLS)
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>
