I can't find anything that resolves this problem. I am developing a website that I have set-up for registered users to have accounts on and be able to upload files to. Some of these files remain public for anyone to view, other files need to be kept private and secure, also a lot of the content I add must remain for registered users only.
Using One.com it seems it's impossible to have>
Options none
>in the .htaccess file, in-fact Options followed by any command I have found will not work, all I get is system misconfiguration errors. If I hash (#) them out then all works fine, but I can't stop files from being accessed by the passing world. I've used the>
Deny from all
>statement and thought this would solve the problem, I was told Drupal would be able to access the files only, but it just causes the files to be unreadable by anyone including Admin on Drupal. I have been faffing around with this for over a week and nothing solves the problem.
I am referring to the .htaccess files in sub-folders with this problem. Within the root directory .htaccess file I've had to hash (#) out a number of lines for Drupal to run at all. The start of this file is as follows:>
#
# Apache/PHP/Drupal settings:
#
# Protect files and directories from prying eyes.