How to pass protect subdomain directory? - Urgent Help Need

Discussion in 'PHP' started by KingCobra, Oct 10, 2009.

  1. #1
    I created a folder named 'support' inside /public_html/ directory.

    and asign a subdomain 'support.mysite.com' to this directory.

    (I have to give this to another person)

    I want that second person can only login this dir using ftp software and not able to see any files outside this (support) folder.
    This pass will only for developer and not for visitors. Site visitors will see the site 'support.mydomain.com' normally. Is it possible? How?

    (reason: If the person see my others files then he may copy that)
     
    Last edited: Oct 10, 2009
    KingCobra, Oct 10, 2009 IP
  2. orionoreo

    orionoreo Peon

    Messages:
    145
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    are you managing this from Plesk? in plesk you can create a subdomain and create a new user account, that way they only manage that area of the site and not be able to see the rest... the admin (yourself) can still access everything

    i believe other cpanels can do this too but i work with plesk and 100% certain on this
     
    orionoreo, Oct 11, 2009 IP
  3. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #3
    in cpanel you can just set that directory as the ftp folder for a username
     
    JAY6390, Oct 11, 2009 IP