1. Please take a little time for this simple survey! Thank you for participating!
    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

    0
     
    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

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

    inCharge.co.uk Guest

    0
     
    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

    0
     
    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

    0
     
    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
     
  6. PaulC

    PaulC Regular Pleskian

    24
    57%
    Joined:
    Aug 5, 2001
    Messages:
    192
    Likes Received:
    0
    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

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

    inCharge.co.uk Guest

    0
     
    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.
     
Loading...