Zen Cart Logo
Forums / General Questions / Setup a folder in root for protected videos

Setup a folder in root for protected videos

Locked

Views: 861

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
25 Dec 2008, 12:47 AM
#1
dgsignal avatar

dgsignal

New Zenner

Join Date:
May 2008
Posts:
31
Plugin Contributions:
0

Setup a folder in root for protected videos

Can someone offer advice as to how to setup a folder below root (outside of public_html) where I can securely place videos?

Currently, my website allows for the purchase and subsequent download of a video. My download folder is below root (outside of public_html). I want to do something similar with another folder where I can securely store videos that can be streamed to authorized buyers. I want those videos to be secure from direct URL access, etc.

I'm running on a Linux server but my limited understanding of .htaccess files leads me think that they may not be the answer. I could do a redirect but I'm not sure that is sufficient. Right now, I have a video folder in public_html that contains the videos but not securely.

I know there is likely some coding involved which I'm willing to do. I'm not a great coder but am willing to try.

Any suggestions to my question or alternative methods appreciated.

Thanks,

Dustin

26 Dec 2008, 10:23 AM
#2
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: Setup a folder in root for protected videos

Check out the Tutorial and FAQs section

23 results for "downlods"

This one should get you started::smile:

How do I secure my Downloads folder to prevent theft?
https://www.zen-cart.com/tutorials/index.php?article=121

26 Dec 2008, 3:31 PM
#3
dgsignal avatar

dgsignal

New Zenner

Join Date:
May 2008
Posts:
31
Plugin Contributions:
0

Re: Setup a folder in root for protected videos

Figured it out using a symbolic link. Thanks, Dustin

8 Jan 2009, 2:37 PM
#4
previewlounge avatar

previewlounge

New Zenner

Join Date:
Jan 2009
Posts:
25
Plugin Contributions:
0

Re: Setup a folder in root for protected videos

hi dgsignal, glad to see you found your solution.

i too am looking at this issue for my own animation webstore, is there any chance you might share some light on this topic .. sorry if that is impolite of me to ask - the only reason i do is because i found this topic through searching here at zencart..

please, if you prefer not to, that is fine.

my understanding of php is basic, learning slowly
i do however understand java coding to a fairly fine degree, so the mental conversion process should work okay.