Webguide Home | Search
New York University

FAQs

Why would I want to restrict access to my site?

To ensure that your Web directory is secure, you can install a restriction file called .htaccess.

A .htaccess file allows you to protect your Web page, site, or directory from being accessed by unwanted public users. This file will prevent Web access by anyone who does not have permission to view your site.

For example, you could deny access to machines outside the NYU network or allow access for only the machines in the Information Technology Services (ITS) subnet. You could also create a username and password scheme so that only select individuals who know the username and password can access your site. Another option is to restrict the site to only those with NYU NetIDs and passwords.


To learn how to implement a .htaccess file, please see our Tutorials section on: