Some people may want to create restrictions on web page access either by setting a password requirement or restricting access to only certain domains. Operating Systems Services has written a short program called nsconfig that makes it fairly painless to set up simple restrictions. A '.nsconfig' file already exists. Backing up current '.nsconfig' file to '.nsconfig.bak'. The userid and password are stored in a file called '.nspasswd'.
Warning Be careful with patterns.
All files, patterns and sub-directories are assumed to be in that directory. In most cases people will want to restrict access to a whole directory, its contents and its sub-directories. The nsconfig program will also let you restrict. It's pretty self-explanatory. It also creates a .nspasswd file if you choose the password option.