How can I Allow (or restrict) Access by IP Address?

How can I Allow (or restrict) Access by IP Address?

Question:

Answer:

Example: