Locking website to unregistered users

Is there a way to keep the url blocked for users who are not already registered?

Quote · 15 Dec 2013

use this in your .htaccess file:

AuthBasicAuthoritative Off

AuthUserFile /dev/null

Auth_MYSQL on

Auth_MySQL_Authoritative on

Auth_MySQL_DB <your mysql database>

Auth_MySQL_Username <the mysql database username>

Auth_MySQL_Password <the mysql database password>

Auth_MySQL_Profiles <the table containing the authentication data>

Auth_MySQL_NickName <the field containing the username>

Auth_MySQL_Password <the field containing your password>

Auth_MySQL_Empty_Passwords off

Auth_MySQL_Encryption_Types Plaintext Crypt_DES

AuthName "<Your description>"

AuthType Basic require valid-user

 

This is just a starting point. You are going to have to adjust because the password that is typed is not the same as the actual password in the database. So, you are going to have to figure out how to convert the password.

caredesign.net
Quote · 15 Dec 2013

@ProfessorSr - That method assumes the server has mod_auth_mysql installed which not all hosting does.

Also, that method has no encryption option available that's compatible with dolphin.

I do have a mod available for dolphin that will allow MD5 to be used as the default password type, but that requires a minimum of one login per account to convert the stored password.

https://www.deanbassett.com
Quote · 15 Dec 2013

Are you sure that's what you want?

Doing that would require you manually register the members. They will not be able to get to the site to register themselves.

https://www.deanbassett.com
Quote · 15 Dec 2013

No need to put coding you can easily set via admin Join thru Invitational only


image

"Your future is created by what you do today, not tomorrow." @ www.dexpertz.net
Quote · 15 Dec 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.