|
|
|
Re: Block access to production databases using TOAD,SQLNAV [message #331749 is a reply to message #331745] |
Sat, 05 July 2008 03:46 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
A better way of securing your data is by using application roles.
Don't grant privileges to users, grant the user an application role that is enabled only by the application itself.
It _is_ however possible to circumvent that, especially for people with access to the code, but it decreases the number of people who can access the data.
Since a lot of people are comfortable looking up data by means of sql, instead of the application, it might even be better to grant users read-only privs on the application-tables and -views by default, and let the app handle DML by means of stored procedures (or combine default read-only access with read-write application roles)
In general, if you block the way people are used to work, they will try to find ways around your block, so you will have to convince them that their way is not safe. For read-write access, this is easy to explain; for read-only it is close to paranoid.
|
|
|
|
|
|
|
|
Re: Block access to production databases using TOAD,SQLNAV [message #331773 is a reply to message #331752] |
Sat, 05 July 2008 08:30 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
Michel Cadot wrote on Sat, 05 July 2008 11:02 | Quote: | for read-only it is close to paranoid.
|
You are not working in banking where information may mean million or even billion dollars.
You are not working in pharmacy or perfume industry where product component also worth billion dollars.
And so on.
Information is money.
Developer should never has access to production data.
Regards
Michel
|
Of course I am talking about people that do have the same access to the data through the application.
And, by the way I DID work for a bank, AND I did work for a pharma-company.
And I have to say that neither relied on the "you cannot do that or we will fire you" security-mechanism
[Updated on: Sat, 05 July 2008 08:59] Report message to a moderator
|
|
|
|
Re: Block access to production databases using TOAD,SQLNAV [message #331783 is a reply to message #331779] |
Sat, 05 July 2008 08:48 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
anacedent wrote on Sat, 05 July 2008 15:41 | >But here, there are difficulties of changing application user passwords
Application passwords are NOT the same as schema passwords!
Why do non-DBAs have passwords to ANY schema in the instance?
|
Not necessarily bad. Why build a fallable authentication system when you get quite a solid one for free?
That doesn't mean however that those db-accounts should be granted each and every priv.
|
|
|
|
|
|
|
|