Web hosting - password protect entire folder

I have a set of HTML files as an output from Project Analyzer (it documents my VBA projects into a navigatable set of web pages). I'd like to put it on my web server - but if I do my entire code will be open to anyone. So I'd like to restrict access to ONLY if accessed from my WordPress site where I can include a token/URL parameter.

It's not practical to modify/put_anything in the 1,000s of web pages produced by Project Analyzer. Hence the need to limit access globally.

Is this possible? If so I'd be interested in any ideas.

Thanks
hindersalivaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
some details are required in order to help you.  What webserver will you be using to host these project files (make and model)
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
If you're talking about delivering VBA files for download or any type of file download, then you want to store your files outside of your public www folder.

When the server receives the proper credentials then you're back in toad can copy the file from outside the private area to a public area for download and within a certain time limit remove the file from the public area so others cannot access.
0
hindersalivaAuthor Commented:
Sorry, I left out some important details :(

My site is hosted in shared hosting at Dreamhost.com - It is a Wordpress site. I can place the entire set of 'code documentation web pages' (5Mb all HTML) outside the www folder. There will only be one link from my Wordpress site to Index.htm of this set of pages.

A question: The Wordpress site itself will be password protected. Therefore, no one can access my documentation pages through that one link (above). My concern is that the individual pages of the documentation will be listed in Google and open to the public. Or is it not so?
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
If your documentation is an html page, I would just copy the html as a wordpress post/page and make that password protected. I think that will be much easier.  Even then you can make the page nofollow.
0
David Johnson, CD, MVPOwnerCommented:
most search engines respect the robots.txt file in which you can exclude certain pages from being indexed.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hindersalivaAuthor Commented:
Thanks Scott and David. The output documentation of my VBA projects run into 300+ pages!
So, sadly, neither of the suggestions is practical in this particular case.
0
David Johnson, CD, MVPOwnerCommented:
when I mentioned robots.txt I should have also mentioned you can block directories and subdirectories of those directories as well.
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Either you will need to spend time on handcoding or use a ready to go plug in.

https://wordpress.org/plugins/download-manager/
https://wordpress.org/plugins/easy-digital-downloads/

In addition to the above. search wordpress.org for digital downloads for other options.
0
hindersalivaAuthor Commented:
David, that's great. If I can get an entire directory 'unlisted' by search engines that would solve my problem. Now to learn about 'robots.txt' ...

Scott, I won't be downloading my code library. Just copying/pasting code from the page.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.