Results 1 to 2 of 2

Thread: Secure Files on Apache

  1. #1
    Join Date
    Dec 2005

    Secure Files on Apache

    How can I prevent access to certain files on my website, even if somebody knows the location of these files, i.e. mysite.com/videos/myvideo.flv?

    My web server is apache and my system is linux.

    I want to prevent direct access (typing in the URL and downloading the file), script access (I'm not sure if this is different from direct access or not, so hopefully someone can point this out to me) and any other type of security issue that you (the experts) might imagine that I need to be worried about here.

    I am not looking for a 100% bulletproof solution because I know the answer is "if you don't want your files to be accessed, then don't put them online" but I just want to make sure that I can take every reasonable step necessary to make these files difficult for people to get their hands on.

    Thanks for taking the time to read my post and hopefully you can help me out/point me in the direction of some apache security primer or something.
    I've switched careers...
    I'm NO LONGER a scientist,
    but now a web developer...

  2. #2
    Join Date
    Nov 2003
    Worthington, OH, USA
    This should point you in the correct direction: http://httpd.apache.org/docs/2.0/howto/auth.html
    54 68 65 42 65 61 72 4D 61 79

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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