• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Using Access .mdb outside of httpdocs

K

kwheeler

Guest
I would like to use an Access database outside of the httpdocs directory in vhosts for security purposes. What additonal steps need to be done to accomplish this or is this really unnecessary?

I previously used a host with and Hsphere control panel which made this very easy. I am just getting started with Plesk so any advice is appreciated.
 
Bump!!

I was wondering the same thing.

With plesk, it seems an FTP user does not have permission to create folders or upload files outside of httpdocs. I need for them to have access to a "private" folder.

Can this be added to the skeleton? and what kind of permissions should I be using ?
 
If you have Remote Control access (e.g. Terminal Services) then you can create a private folder manually in Windows Explorer. Copy the permissions from the httpdocs folder.

This will enable both FTP access for the site owner (Plesk accound username) and db access for the web process (psaserv).

If anyone has successfully automated this then please let the rest of us know how, whether using a skeleton, script, voodoo, whatever.

Thanks, Julian
 
Originally posted by inCharge.co.uk
Copy the permissions from the httpdocs folder.

Sorry, that's wrong.

psaserv should NOT have execute permissions on the 'private' folder but it SHOULD have write permissions. For security reasons execute and write permissions should not be granted on the same folder to the web process.

Cheers, Julian
 
Hi,

Pretty new to Plesk, but the way I handle this is to create a directory database in the cg-bin directory, which is outside httpdocs, upload your mdb file, set the right permissions on the database directory, set up your dsn and off you go.
If there is a backside to this solution please let me know

cheers,
hanz
 
We have been having clients create a folder within the httpdocs folder, and password protecting this so nobody can enter the URL and download the contents.

However, in Plesk 7 for Windows, there is a directory specifically for uploading access databases and other similar files.
 
However, in Plesk 7 for Windows, there is a directory specifically for uploading access databases and other similar files.

Where is this directory?
 
Originally posted by joelmoss
Where is this directory?

Plesk 7 now creates a private folder for new domains:

C:\Inetpub\vhosts\<domain>\private

I found that it doesn't give the correct read/write permissions to the IUSR_ account, so scripts cannot access the .mdb. You still have to set the permissions manually. Do a search in the Plesk 7 forum for more details.
 
Back
Top