PWGen - Workshop & short manual


used in the example: PWGen version 0.24
More manuals will be following in a short time.

How do I create users for special site directories?

In this example, a test user for a domain is created. We will only explain the menu. The corresponding functions are context sensitive also available by the right mouse button in the web sites ("directory tree") window.

Start screen
Start screen
 
First, a site is added by the menu item Site. If there is already a directory existing that you do not want to modify any longer, you can create a new database with File -> New.Add site - 1
Next enter a name for the site, under which the managing in the PWGen database shall be done. In the example, "Managing name" is used.

Further you can enter the FTP data for the server. In the example used:
Site: "www.testdomain.com"
User ID: "ftp username"
Password: "ftp passwd"

passive mode: required only on some systems, e. g. with firewalls and other.
Add site - 2
In the next step, the directory on the FTP space is entered.

To do that, add a directory by selecting Directory -> Add directory.
Add directory - 1
In the example,
"/bin/test_versions" is used.

Together that is that you want to protect the following URL:

"http://www.testdomain.com/bin/test_versions".

In this directory, the FTP upload of the ready .htpasswd file will be done.
Add directory - 2
Now, the example user "username1" will be created. In the right part, you can choose, out of which characters the password shall be created, also the length of the password. With the button Create password and crypt, PWGen creates a random password and (with an existing online connection) the fitting crypt. (The online connection is not needed in the registered version.)

If the users wanted to login now, he had to enter the following:
User name: "username1"
Password: "z7j64h1m"
Add user - 1

 
User created
Here now the result of the example.

With the menu item Directory -> Store directory passwords, the generated ".htpasswd" file can be uploaded directly per FTP to the server.

Attention: The corresponding file ".htaccess" must be created and uploaded manually in this version in order to turn on the password protection!
More information about .htaccess you can find on the German server tip pages.