Get the App
SLTechnology News&Howtos  ›  Servers  › 

Hotlink protection and hidden version of apache

Shulou Source: shulou.com Published: 2022-06-02 18:52:13 09月22日 Update

Experimental environment: one linux host as the server and two win10 as the test machine

Experimental procedure

Mount source code package, extract, configure, compile, install (process can refer to the previous blog, be sure to configure rewrite module, this is hotlink protection)

The following code, install, make,make install

Because domain name resolution is involved, install the dns service

The installation of the two services is complete, and the configuration is completed.

Dns

Dnsf service configuration is complete, start, turn off firewall, enhanced security features

Apache

Enter profile changes

Add a picture to the home page of the website

Configuration complete, start the service

Two clients write down the dns parsing address and try to access

Another client acts as a hotlink to build a website first.

Use the test machine to access the win10 address of the website

Successful theft of chain

The following hotlink protection operation is performed to change the configuration file on the server.

Restart the service, testing

Hidden version

Tags: Services configuration website testing anti-theft address client client file server two test machine experiment version security success host function blog picture Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Shulou Tech Info Redmi Huawei Microsoft