|
Limit access to specific computers AND require a passwordLast revision July 20, 2004 You can limit web access to the pages in a directory so that the viewer must be using a certain computer (such as "any computer at Stanford") and he must provide a valid user name and password. All you have to do is create a .htaccess file in the directory to be protected, using both sets of directives shown above in the sections on limiting access by computer and limiting access by password. If both sets of directives are found in this file, the default behavior of the web server is to make sure that the viewer who wants access satisfies both sets of requirements.
|