Version :

MagicDirectory Plugin Help
This plugin allows you to "create" a user just by making a directory for them. You set
the password by specifying a character or two that separates the username & password.
This allows for easy user creation and management by even the most technically
challenged people. Basically, you create a folder in a certain location, and now
a user can login with that folders name. The plugin then verifies if a folder exists
for their username, and if it does, they are given rights to that particular folder.
If you want to accept any password for a username, simply leave the separator setting blank.
If you do specify a separator, you must make your folders properly. So for instance
with a separator of '_', and a folder named 'johndoe_mypassword', a user named 'johndoe'
could login with the password 'mypassword'.
There is also an advanced option of setting an expiration date on the folder.
You can configure your date format string for this. It is optional and is only
used if you tack it on to the end of the folder name. For example 'bob_pass_01012008'
would allow a user named 'bob' to login with the password 'pass' until Jan 1st 2008.
How to use it:
Configure this plugin by
setting the directory of where users will be checked against folder names. Pick what
permissions they will have when they login, and finally go and test it out.

Now make a folder in your "magic directory" named something like \"bob_54GHJK\".

Now login to your CrushFTP server with this username and password. You will have access to the folder
you just created.

Now test logging in with another invalid username...you will be denied.

Advanced
There is additional advanced features for random passwords and email notifications.
If a user's password is 'random', it will be replaced with a true random password.
If a user's email starts with 'notify_' an email notification will be sent to them with
their login information. Here is an example showing both a random password and the notify:
(note the separator I have chosen is '--')
myuser--random--notify_ben@crushftp.com
That would send me an email with the username and password so that I could then login.


Questions? Email me: ben@crushftp.com

--Ben Spink

Browse

If you specify a template username, all settings from that user will be used including that users virtual file system.