Folder Password

If i have a folder in public_html how can I put password only to this folder.
If you want to enter in this folder you want to put the password.

You can only "protect" the folder for HTTP access. Please take a look at the wikipedia article:

There are many tutorials when you search for htaccess in google.