Bảo mật cho joomla part 16

Dưới đây là một loạt các bước theo bước của các khối mã mà nên trang bị cho bạn những kiến thức đủ để ngăn chặn bất kỳ và tất cả các đơn vị cần thiết. Đọc qua các thiết lập của khối mã, thực hiện các mô hình, và sau đó sao chép và kết hợp để tùy chỉnh cho phù hợp với nhu cầu của bạn cụ thể cặn bã-blocking: | This material is copyright and is licensed for the sole use by Thomas Rosenblum on 4th December 2008 1010 SW High Ave. Topeka 66604 Chapter 7 redirect all requests from spamsite to an image of something at differentspamsite RewriteCond HTTP_REFERER xhttp . spamsite. NC RewriteRule . http R redirect traffic from a certain address or range of addresses to another site RewriteCond REMOTE_ADDR . RewriteRule . http R Here is a step-by-step series of code blocks that should equip you with enough knowledge to block any and all necessary entities. Read through the set of code blocks observe the patterns and then copy and combine to customize them to suit your specific scum-blocking needs set variables for user agents and referers and ip addresses SetEnvIfNoCase User-Agent . user-agent-you-want-to-block php perl . BlockedAgent SetEnvIfNoCase Referer . block-this-referrer and-this-referrer and-this-referrer . BlockedReferer SetEnvIfNoCase REMOTE_ADDR . . BlockedAddress set variable for any class B network coming from a given netblock SetEnvIfNoCase REMOTE_ADDR . BlockedAddress set variable for two class B networks and SetEnvIfNoCase REMOTE_ADDR 5 6 . BlockedAddress deny any matches from above and send a 403 denied Limit GET POST PUT order deny allow deny from env BlockedAgent deny from env BlockedReferer deny from env BlockedAddress allow from all Limit Password-Protect Files Directories and More Want to lock out files or directories Since .htaccess is read first it will act as a good security measure to stop kiddie scripts and busy-bodies or as they say in Australia those with sticky beaks . 1. The first example shows how to password-protect any single file type that is present beneath the directory that houses the .htaccess rule. 157 This material is copyright and is licensed for the sole use by Thomas Rosenblum on .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
50    120    3    29-06-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.