In this article we will learn about some of the frequently asked HTML programming questions in technical like “make so only certain ip’s can accesss html file” Code Answer. When creating scripts and web applications, error handling is an important part. If your code lacks error checking code, your program may look very unprofessional and you may be open to security risks. Error or stack handling on html was simple and easy. An error message with filename, line number and a message describing the error is sent to the browser. This tutorial contains some of the most common error checking methods in HTML. Below are some solution about “make so only certain ip’s can accesss html file” Code Answer.
make so only certain ip’s can accesss html file
xxxxxxxxxx
1
# ALLOW ONLY MULTIPLE IPs
2
<Limit GET POST PUT>
3
Order Deny,Allow
4
Deny from all
5
Allow from 123.456.789
6
Allow from 456.789.123
7
Allow from 789.123.456
8
</Limit>
9
ErrorDocument 403 path/custom-message.html
10
<Files path/custom-message.html>
11
Order Allow,Deny
12
Allow from all
13
</Files>