SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Dec 2008
    Location
    Virtual Globe Trotter
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    protecting web project files in a subdomain

    So i have this subdomain (mysub.mysite.com) whose webroot folder is in sub/www/ inside mysite.com's webroot folder (as in public_html/sub/www).

    If i place a completely new web project inside sub/ and i password protect important folders in sub/, say the lib/ or db/ or password/ (eeek!!!) folders, then is it safe from access from mysite.com? Say i try mysite.com/sub/lib/php/privatefile.php , will it be safe from access?

  2. #2
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,576
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    You should make the new site a sibling of the public_html (or whatever your web root is) and configure your web server to serve that folder as a virtual site.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •