1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Using Access .mdb outside of httpdocs

Discussion in 'Plesk for Windows - 8.x and Older' started by kwheeler, Apr 9, 2004.

  1. kwheeler

    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.
  2. emsol

    emsol Guest


    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 ?
  3. inCharge.co.uk

    inCharge.co.uk Guest

    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
  4. inCharge.co.uk

    inCharge.co.uk Guest

    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
  5. hanz

    hanz Guest


    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

  6. PaulC

    PaulC Regular Pleskian

    Aug 5, 2001
    Likes Received:
    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.
  7. joelmoss

    joelmoss Guest

    Where is this directory?
  8. inCharge.co.uk

    inCharge.co.uk Guest

    Plesk 7 now creates a private folder for new domains:


    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.