AuthUserFile D : \dwnlds\SampleDir\ .htpasswd
AuthType Basic
AuthName “I WON”
Require valid-user
where,
'AuthUserFile' directive tells the Apache web server where the username/password pairs are going to be stored.
'Basic' is only type of authentication that is used.
'AuthName' indicates the collection of documents that are to be protected.