Hi, OSTrainers! I am creating a course that will be published in xadrezvalle.com.br For videos I started using YouTube videos, but now I am using the program 'Easy HTML5' to post videos that are not linked to YouTube and other related videos. The program generates an index.html file and a folder with the related files for the main video formats.
Now my doubts begin. I've created a folder in public_html to upload this generated files. I have two questions: 1) How can I protect the folder from access and download? (I want to upload videos that will be viewed only by logged users. In the test I did, I learned that it become exposed in the wordpress page people can discover the url of the folder) Do I have to create the folder in wp-content? 2) The other doubt is: Do I have to rename index.html for each video I upload?
Thank you very much! Adriano
Please become a member of OSTraining to reply to this post.
And I'm not sure why you are asking if it is necessary to rename the index.html file in each directory? If this is an empty file, the purpose of this file is so users cannot see the directory list of files on the webpage when accessing www.yoursite.com/mediafiles, instead it will direct them to a blank screen, or whatever the index.html file is.