A) Protecting Files Within WordPress
The fastest way to protect files is to upload them to your wordpress blog when you are writing a new post. All such files will be stored in a folder called “wp-content/uploads/….”.
Alternatively, you could also upload files directly using FTP, to the “wp-content/uploads/” folder and DAP is configured right off-the-shelf to protect any file inside the “wp-content/uploads/” folder.
B) Protecting Regular Web Site Files Outside of WordPress
1. Go to the following directory within the “dap” folder on your desktop:
dap > client > website
2. Open the .htaccess file in this folder.
3. In your web site’s root folder (where you have your home page – index.php or index.html)…
i) if you already have an existing .htaccess file., then open it and COPY the text from Step 2 above and PASTE it at the very end of this file.
ii) If there is no .htaccess in your root folder, then simply copy the file from Step 2 to your web site’s root folder.
That’s it.
TESTING:
Now add the link to your non-wordpress file to DAP from the DAP Admin Control Panel.
Then, open a different browser (not different window – a totally different browser – like, if you’re logged in as DAP admin in FireFox, open IE) and try to access your file directly and see if DAP redirects you to the login screen.
If not, take a deep breath – it’s NOT DAP
It’s just that you missed something (or screwed something up
.
Revisit the steps above, and if you still can’t figure it out, you might want to think about uploading the file to wordpress (see Section A above) .
But if you’d rather get this working, then just open a support ticket, and we’re standing by to help you
That’s it!
0 comments ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment