Paths and security

    Date: 08/07/06 (Web Development)    Keywords: web

    I have a website that has an admin application to add and delete files that the web application shows to users. I am not exactly sure where I should put the directory to store the files. My site is hosted on a virtual private server.

    The path to the website's directory is:
    /home/vipservices/www/vipservices.net

    The domain is not live at the moment so I can get to the site using:
    (myhost)/~vipservices/vipservices.net/

    The files directory is located:
    home/vipservices/www/uploaded_images

    Once the domain goes live I will turn off access with the ~ (I think)

    I am concerned the directory "uploaded_images" is going to be set to 777 so I can read and write to it, but it will be accessable to the world, which I obviously dont want.


    What is the correct way to handle this?

    Thanks for any help offered.

    **crossposted

    Source: http://community.livejournal.com/webdev/341355.html

« Question(s) || Quick time video clips »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home