Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am making some HTTP Live Streaming files (an Apple based way to segment video files so they can be 'streamed' by downloading specific chunks of a file (more info)). It's possible to 'encrypt' each of the segments with a simple key, as a simple form of DRM. The Apple provided tools can do the encryption, but for various reasons I need to do this on Linux (Ubuntu). What tools/programmes can encrypt the HTTP Live Streaming Segments on Linux this way?

share|improve this question
    
I do not get it. What is the goal? What do you really want to achieve? –  cstamas Jul 16 '10 at 11:18

1 Answer 1

up vote 2 down vote accepted

Based on section 6.3.6 of the draft submitted to the IETF, all you'd need to do is pass each file through AES-128-CBC, which can be easily done via a small web-facing script (PHP's passthru(), for example) and the "openssl" command-line interface to OpenSSL.

Actual level of sanity involved in attempting this, on the other hand, is still open for debate. Especially since this adds exactly nothing to the security of your stream, unless I'm missing something terribly obvious in the spec.

share|improve this answer
    
If you control access the the encryption key (one small key file), then you can put your encrypted video files (lots of big files) somewhere insecure. –  Rory Jul 16 '10 at 14:09
1  
Ah, I see. So push the files out to a CDN, but keep the key local (and protected by HTTP/401 or similar). That makes me feel a little better about it, I suppose. –  BMDan Jul 16 '10 at 14:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.