Contents.Note I am not a PHP programmer so feel free to modify as you wish. This extension has been tested with DotNetNuke but should also work with any asp.net website whose membership tables (aspnetmembership and aspnetuser) are populated by the SqlMembershipProvider. Note: This will only work if the website uses a fixed decryption key using the 3DES algorithm. Requireonce ' $IP /extensions/DNNAuthentication.php'; $wgAuth = new DNNAuthentication ; $wgDNNAuthSQLServer = 'SERVERNAMEINSTANCENAME'; $wgDNNAuthSQLDatabase = 'database'; $wgDNNAuthSQLUsername = 'username'; $wgDNNAuthSQLPassword = 'password'; $wgDNNAuthMachineDecryptionKey = '94BAG9SF75AB37FD00C223FBBC0EA8A17B5BA664FD76CA8E'; // 192 bits machine decryption key found in web.config PHP extensions You will need to enable the following php extensions:. phpmssql.dll. phpmcrypt.dll.
phpmhash.dllSource Code.