Hi there,

When I'm in the console, how can I connect to a database with different 
credentials as my connection?

For example, if I connect to the database like this:
connect remote:127.0.0.1 admin admin

How can I then connect to a database on the same machine, called 'my_db', 
with a different user/password?

In general:
What we are trying to do is leverage the Record-Level Permissions and 
security of ODB.
However, we've found that, at least in libraries like Oriento, there is a 
difference between a "server user" who can connect to the database and 
"database user".
So, the model, as we understand it, is:

- Connect to the ODB server with a low-access level user. For example, 
guest.
- Connect to the database with a user that has appropriate Record-Level 
Permissions. Ex: john_smith0201

(I'm having trouble with this model so far, but I'm working through it as I 
learn OrientDB.)

The other options is to:
- Connect with admin to the SERVER.
- Connect with john_smith0201 to the DATABASE.
But, this is a weaker model because then, should be script have some sort 
of security problem, it could potentially access the entire DB.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to