SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to Prevent exe files downloading using apache

    Hi guys i am new to this forum and learning apache web http server and installed it. have got an idea about htdocs folder but if you place exe files in htdocs folder it can be downloaded by any user.

    Please tell me how to prevent downloading by every one ? please friends

    Thanks in advance.

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,650
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    Mr.J,

    Welcome to SitePoint's Apache forum.

    Move the .exe files outside your webspace OR password protect the directory that you have them in. Obviously, you can't very well do that to your DocumentRoot so the htdocs directory is not the place for .exe files.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


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
  •