Those who wish to restrict web site access to specific UW Madison IP ranges (or custom rules) are encouraged to use the Platform Firewall Utility. The Web Hosting service will coordinate this process for you.
These rules are applicable to the IP of the site and cannot be used to protect subdirectories with different sets of rules than the rest of the site.
For assistance, please email email@example.com with the details of your firewall rules request.
If you require sub-directory protection (e.g. mysite.wisc.edu/subfolder/), there are manual ways to implement firewall rules on an individual path basis. Depending on the platform and nature of the application, you can accomplish sub-directory protection with a variety of methods (Apache rules in vhost.conf or .htaccess, Win/IIS web.config, etc.).
Please be aware: Keeping up with the ever-changing rules that make up Campus IP space can be difficult and time consuming. One way of overcoming this sub-directory dilemma for campus rule sets is to break out the sub-directory into its own domain and redirect to it. For Example: Making the following change...
mysite.wisc.edu/admin ⟶ admin.mysite.wisc.edu...would allow the new domain to make use of the platform firewall.