|
MojoProtector MySQL Documentation
System Behaviors
- Introduction
- I have a flock() error....
- I have rename() error...
- How do I display XXX members per page?
- How do I force members to have unique email addresses?
- How do I force username/password to be certain length?
- How do I prevent password sharing?
- How do I log failed attempts to login?
Introduction
mojoProtector offers many tweakings
to make the program runs at your specifications. You may also
have to disable some features to make the program to work on certain
platforms. In another word, you have total control on how
the program should act.
I have a flock() error
Windows IIS sometimes do not support file locking. If mojoProtector
says something about flock() error, please
- Click on the "behavior"
link from the admin panel
.
- Choose "no" on
the line about "file locking".
I have a rename() error...
Windows IIS sometimes have problems with file renaming. If mojoProtector
says something about rename() error, please
- Click on the "behavior"
link from the admin panel
.
- Choose "no" on
the line about "file renaming".
How do I display XXX members per page?
- Click on the "behavior"
link from the admin panel
.
- Enter the desired number of members you want to display on
the line about "links per page".
How do I force members to have unique email addresses?
- Click on the "behavior"
link from the admin panel
.
- Choose "No" on
the line about "Duplicate email allowed?". If you want the reverse, then click on "Yes"
How do I force username/password to be certain length?
- Click on the "behavior"
link from the admin panel
.
- To restrict username's length, enter the minimum number of characters on "Minimum username length"
- To restrict password's length, enter the minimum number of characters on "Minimum password length"
How do I prevent password sharing?
To prevent the posibilities of sharing a password, we check if member has logged in with different locations within 7 days. However, keep in mind that most people use dynamic IP addresses where each time they're connected to the internet the address is different. If a member has exceeded this amount, he/she is immediately taken from the protected directory and his/her account is suspended.
To set this amount:
- Click on the "behavior"
link from the admin panel
.
- On "Maximum number of IPs within 7 days", enter the desired number.
- Select "yes" on "Log success logins?".
- Make sure that you also use SSI on your protected directory default page with this code
<!--#exec cgi="/cgi-bin/mojoProtector/log.cgi"--> or <!--#include virtual="/cgi-bin/mojoProtector/log.cgi"-->
Where "/cgi-bin/mojoProtector/log.cgi" is the relative path to log.cgi file.
How do I log failed attempts to login?
This is an attempt to track brutal force attacks. It will show you what usernames they are trying to get in (but failed) as well as the place where they come from and their IP addresses...
- Click on the "behavior"
link from the admin panel
.
- Choose "Yes" on
the line about "Log fail logins?".
|