You have to proceed with the .htaccess and .htpasswd files.
Only the .htaccess file is different, for the creation of the .htpasswd go to the question regarding directory protection.
Here is an example of .htaccess limiting access to a page named gestion_admin
AuthName "Zone Accès Limité"
<Files ~ "gestion_admin">>