Skip to content

Authentication Fail Feature update required #72

@dipenpatel235

Description

@dipenpatel235

Hello...
I have seen u have implement authentication for mongo Database.

But now one more authentication is required inside database we used separate user and credential for collection

So for example right now i have not assign any user/password for database but after that i have set for my one database with collection password.
So i think Need to implement that feature.

See right now compare with php so u have set that user name /password in nginx conf.

$m = new Mongo('mongodb://username:password@localhost/testlogs');

But after that also one authentication required

So that one is db->authenticate line. and in mogo db format it is db.authenticate(user,password)

$conn = new Mongo("mongodb://hello.myhostname.com:27017");         // Connect
$db = $conn->mydb;                // Select DB
$db->authenticate('myuser', 'mypwd' );

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions