encrypt the flv file - apache-flex

I am now thinking of encrypting the flv file .
is there any way to do this by flex?
do you have some tutorial of example to do encrypt the flv file.

Found this:
http://forums.digitalpoint.com/showthread.php?t=745336

It is possible to send FLV over the net via SSL, which is what I expect you want to do. You'll need to
enable your webserver to use HTTPS (SSL)
change the http:// to https://
Encrypting the FLV itself, on disk on the web server, means the browser that reads the files cannot read it--there is no point.
I suspect there is more to this question. State why you want to encrypt the FLV and we can answer in more depth.

Related

How to "stream an mp4 as an .m3u8" from Ant Media Server?

Using Ant Media Server, I have an mp4 that I would like to stream as an .m3u8 stream via HTTP. Is this possible?
I can't use the FlowPlayer/HTML (which works). I need a native HTTP URL that contains the stream with an extension .m3u8
You can publish your file with RTMP to Ant Media Server. Then you can access m3u8 file from ams_url//streams/.m3u8
Let say you work on local host and use LiveApp as application and steam id be test then you can accsess:
http://localhost:5080/LiveApp/streams/test.m3u8
Also check documentation:
http://docs.antmedia.io/en/latest/Streaming-Protocols.html#hls

Create m3u8 and stream from server

How can I create m3u8 file with using ffmpeg on a server (Convert Server) and send it to another server (Storage Server) and stream from there(Live Stream)?
I want to handle it with asp.net.
How can I do it?
HTTP Live Streaming (HLS) can be easily produced by ffmpeg (official documentation on HLS muxer):
ffmpeg -i input.mp4 out.m3u8
It is possible to specify another live streaming server as output (instead of m3u8 file), see https://trac.ffmpeg.org/wiki/StreamingGuide for more details on this.
From ASP.NET you can execute ffmpeg with System.Diagnostics.Process.

How can I ensure a transfer is done in binary mode using the cadaver command-line tool for WebDAV upload?

I'm doing a transfer of a tar.gz file to a client WebDAV server. I want to ensure that the transfer is done in binary mode, i.e. like the "bin" option in ftp.
The man command doesn't indicate anything about the default transfer mode.
Can anyone confirm, or otherwise, that cadaver uses binary mode by default ?? I am on a Solaris 10 server.
Best regards.
WebDAV is HTTP. And in HTTP, the payload is always transferred "binary".

How to capture video from Youtube using HTTP Proxy?

I have tested a scenario here a proxy sits between the server and client while browsing youtube videos.
I am sniffing the HTTP traffic, and observe that at least a bunch of SWF files (content-type:Content-Type: application/x-shockwave-flash) are being received. I am able to store these files on the disk as well.
Now, I am trying to playback these files, but it is not a single file. Not sure why and how youtube server is sending these multiple files.
Questions:
1. How can we interpret these files at the Proxy itself before they reach the Flash player in the browser.
2. How can we process these files (e.g. transcode) at the proxy and then send them to the client.
3. Are these files independent pieces of informations that Flash player need or these are chunked by the youtube server?
Thanks.

data encryption between 2 servers on file request

I've a quick question:
I have 2 websites, 1 has some links to file downloads. Those files are hosted on another server.
I need to encrypt the request data between the 2 servers..can I do it just using a SSL certificate?
Any other/better idea?
Those files are private docs, so I don't want the server 2 or any other people being able to track the file requests between the servers.
Thanks
Yes, use SSL (or actually TLS) if you want to achieve transport level security. If these are two servers that you control you can configure your own self signed certificates. If you want to make sure that only the two servers can communicate with each other, then require client-authentication, where both the server and client use a certificate/private key pair.
Most of the time the trick is to implement a sensible key management procedure. Setting up a web server to handle TLS using certificates should not be too hard.
SSL certificate will work fine for ensuring the transfer is encrypted. Even just a self signed certificate will be fine for this purpose (provided you can tell the client you're going to use to accept the self signed cert)
Alternatively if it's two linux machines then scp (secure copy) is a great tool where it'll connect via ssh and grab the files. (There probably is a windows scp tool but I don't know it)
Rsync also supports going via ssh
As for tracking the request... there's nothing you can do to prevent any device between your computer and the destination computer logging the fact a connection was made but the encryption should prevent anyone from getting to the actual data you're sending.

Resources