Results 1 to 2 of 2

Thread: Apache -- restrict access to a specific file

  1. #1
    Join Date
    Aug 2013
    Beans
    49

    Apache -- restrict access to a specific file

    I have a php script that allows me to upload data to a MySQL DB from my mobile device. Is there a way to limit access to this file so I can tell Apache to allow *x* hostname's to see/execute it?

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Apache -- restrict access to a specific file

    Put it in a subdirectory of its own and control access to the directory using the methods described here.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

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
  •