WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a set of Zip files I want to host on my website. However I don't want anyone to be able to simply grab them whenever they want.

I have seen other sites that use file streaming to handle this with like S3 as the file hosting.

My plan would be to setup a CPT called "resource" and have a file path field that would include the link to the S3 hosted zip file.

Then when the user clicks a button, I would stream the file to the user.

Thanks in advance

share|improve this question

Your answer may be with Youtube you can put videos on there and set them so that the only people that can find them must have the full url. Then you can control who gets the URL path. I have seen pay sites actually do this. Just a suggestion.

share|improve this answer
The question is about streaming zip files, what do youtube videos have to do with it? – kraftner Jun 6 '14 at 22:45
Youtube is an alternative to hosting them yourself like most of the world does nowadays. No need to zip them or host them. Maybe you have heard of youtube? I hear it is pretty popular – PhillipMilo Jun 6 '14 at 23:11
This of course is assuming he is talking about streaming video. – PhillipMilo Jun 6 '14 at 23:18
The question clearly talks about zip file. Not videos. – Pat J Jun 7 '14 at 1:34
I am not referring to videos. I am delivering source code for my products to customers so that they can build their products. – TJ Sherrill Jun 9 '14 at 16:11

Your Answer


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.