the simple SMS authentication service
Documentation
[COMPUTERIZED TRANSLATION] Protection of a part of the site by password of a lodging PHP/MYSQL (14.08.06)
Drank Parfois, one needs to restrict the acc??n file?ne left the Web
site. With this intention, most common is the password protection,
sometimes call? a little?ors, protection htaccess. This solution
refers to the h?rgements PHP/MySQL on one waiters of SysCo.

Pr?bule Attention, handling d?ites here, although not too compliqu?,
ask a little technical training and/or rigour. If you?s not?' ease
with handling d?ites and h?tez?ous to launch, do not h?tez?ous to
contact; we will make readily this installation for you.


Notez also that when one prot? a file, one prot? m? all its
under-files.

Lastly, this proc? is valid only for the
sites h?rg?sur Linux solutions; if we h?rgeons your site on a
Ms-Windows platform, want to contact us.

Principe

the principle is as follows: protection is pressed on two
files:
The first serves?iguiller on the request of user/pass;
it is htaccess
The deuxi? contains a name of user and the
version chiffr?du password; it is htpasswdPour to help you to?emplir
these two files, we installed a small tool online: protection
htaccess. Pr?rer these two empty files on your desk then to go on this
tool to fill them. You will be then redirig?ci for the continuation.


Completion once these files filled, it is still
necessary to modify the AuthUserFile line of the htaccess file because
this one must contain the complete way of the file which you go
prot?r. For the conna?e, Cr? a troisi? file appel?ath.php and which
must contain this:



Save this file
path.php and put it in the file?rot?r on your site. Go then on this
file in your navigator, for example
http://www.mondomaine.ch/dossier_secret/path.php


L?vous should see a way of the kind
/var/www/html/www.mondomaine.ch/dossier_secret/.htpasswd It is exactly
what you will have to put?a AuthUserFile line of the file htaccess?a
place of /chemin/complet/vers/dossier/.htpasswd This line will thus
resemble?uelque thing like
AuthUserFile
/var/www/html/www.mondomaine.ch/dossier_secret/.htpasswd


Safeguard, will transferez the two files in the file?rot?r and
erase path.php which one will need more. If very is well pass?votre
navigator would have d?rmais to ask a username and a password when you
go on http://www.mondomaine.ch/dossier_secret/

Voil?c'
is termin?
Powered by Zmodules.net