Hi Guys and Girls !
The Situation:
I have imported a large Site (includes over 500 pages) to drupal with a self written script. Up to this all is ok. Every Page is now a drupal node and the links between the pages are now links to the corresponding drupal nodes.
Additionally there are restricted areas (a set of nodes) which should only viewable by some users. This i have already implemented by using the "node access" Modul.
Now the Problem:
On these restricted Nodes are links to files. This files are situated in a folder which has a .htaccess file so these files are only accessable with the right password. This is because no one should access this files by a direct link. My wish is now that the username/passwort in the htaccess file is the same like in drupal database. The goal is that the user authentificates by drupal login, and he can surf to the restricted page , and click a link without a login prompt from the apache server.
Many of you would now say: "Why not using the private file feature of drupal ?"
This is no alternative because of this:
My users want to upload files via ftp or samba. After that they want to link via the tinymce editor and its filemanager plugin this files. And this do not work with the private file feature of drupal.
Please let me now if anyone have a idea. Also if it only brainstorming, every comment would be great !