Just you'll need:
ability to telnet or SSH into your web server (ask your ISP for access)
understanding of web server path
Now We Access That .htaccess:
1. setup your setting or configuration .htaccess file:
- First we must create was is known as the .htaccess authentication file. This file is the key to providing who has access to the files in the directory and what types of operations they are allowed to perform within the directory. This tutorial will restrict who is able to view (GET) files from the directory and upload (POST) files into the directory. For more elaborate security measures, check out Apache's web site.
- Open your favorite editor (Windows®, Notepad works well) or telnet into your web server and use a Unix editor like vi.
- Using the text below as a guideline, create a text file where /var/www/html/private/ is the absolute path of the directory where you would like to store your authentication usernames/passwords and My Private Directory is the name you would like for the authentication window.