Help in Apache Web Server:Limiting accessibility to only one m/c

Hi all,

I have some static data that is showed from Apache web server but I want to make accessibility limited to only one machine. Like if that data is accessed by one machine then by any means it should not be accessible by any another machine . Even copying of that data should also not be allowed.

Can it be done by modifying httpd-mpm configuration file in installed directory of Apache because this file is for Server Pool Management.

Any ideas anyone?

Replies

  • shalini_goel14
    shalini_goel14
    OK guys , Thanks for your support. 😀

    I guess my problem is solved

    there is one tag in httpd.conf configuration file of installed Apache Webs erver folder. change the default setting "Allow from all" to "Deny from all". Similary if you are sharing files there is tag called <
    FilesMatch> tag . do same thing with it also.

    For more information check following link 😀
    #-Link-Snipped-#


    I hope it would work. 😔
  • shalini_goel14
    shalini_goel14
    Yes guys the above thing worked.

    Those who have interest in trying it out and can arrange 3 machines check this out, it is really fun.

    Step 1: Download Apache Web server as a service in M/c # 1.

    Step 2: Keep your static pages(let it be html) in any drive in your M/c # 1. Here I am putting it Apache 2.2/htdocs location of M/c # 1. Let my folder name be "Crazy Engineers" having html pages inside it.

    Step 3: Now open Apache/conf folder an open httpd-conf file in it and add following entry at the end of the file and save.

    AllowOverride None
    Order allow,deny
    deny from all
    allow from
    Step 4: Similar to step 3 , edit entry for
    from "Allow all" to "Allow from "

    Step 5: Save file and start the server .

    Step 6: Try to access the html page from M/c # 2. It will succeed.

    Step 7 : Try to access the html page from M/c #3. It will fail.

    *M/c # 1 will only be your server machine. To avoid any ports conflict make sure port no asked at the time of installation is free.

You are reading an archived discussion.

Related Posts

CEans, The uninitiated will be pleased to know that Wolfram (Creators of Mathematica Software) are ready to launch the Wolfram Alpha ( called the 'answer engine' ). The official launch...
Hi seniors I m looking for my final year proj in networking. I was looking to make something new in fiber optics i thought of a new hyper speed lan...
Here's something for you - [youtube]qFb2rvmrahc[/youtube]
This thread is specifically for student CEans. Discuss your plans. If you are running short of ideas; you'll find something here. Keep us updated.
Here's a geometry puzzle for you. Source: https://www.archimedes-lab.org/ [FONT=Verdana, Arial, Helvetica, sans-serif]The diameter a of the large semicircle below is 10 cm long. Knowing that one of the vertices of...