Home » RDBMS Server » Server Administration » Preventing programmer changing data
Preventing programmer changing data [message #250137] Sun, 08 July 2007 11:15 Go to next message
chara
Messages: 81
Registered: April 2005
Location: th
Member
Dear all,

I want to not allow programmer changing data (insert/update/delete) from any tools such as toad. They can logon via toad and only select data.I don't want to create a new user and grant it only select.I think i will create trigger BEFORE INSERT OR DELETE OR UPDATE ON table.But my problem was i have many tables if i have use this method i must to create around 200 triggers (equal with no. of tables).I want to create only one trigger and can use with all tables.Pls advice me .

Thanks for advance !
Chara
Re: Preventing programmer changing data [message #250139 is a reply to message #250137] Sun, 08 July 2007 11:31 Go to previous messageGo to next message
BlackSwan
Messages: 25049
Registered: January 2009
Location: SoCal
Senior Member
>Pls advice me .
The "requirements" are unreasonable.
It is similar to me asking you, "How do I train my pig to fly"?
Re: Preventing programmer changing data [message #250145 is a reply to message #250137] Sun, 08 July 2007 11:50 Go to previous messageGo to next message
Michel Cadot
Messages: 64145
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Prime directive: programmers don't have access to production database.

In other environments, who cares if they scramble the data?

Regards
Michel

[Updated on: Sun, 08 July 2007 11:51]

Report message to a moderator

Re: Preventing programmer changing data [message #250281 is a reply to message #250137] Mon, 09 July 2007 07:59 Go to previous messageGo to next message
MarcL
Messages: 455
Registered: November 2006
Location: Connecticut, USA
Senior Member
Michel,

I couldn't agree more. I am a developer, I do have read access to production data, which is necessary, but I don't want any more than that. It's way to easy to make silly misatakes. In a previous life, this prime directive was violated, a colleague actually deleted all the data from a production table. Too easy to do.

If you have QA databases, or Functional Databases where you want the data in a "pure" state, then the developers should not have any credentials that allow updates to these instances either.



[Updated on: Mon, 09 July 2007 08:00]

Report message to a moderator

Re: Preventing programmer changing data [message #250290 is a reply to message #250281] Mon, 09 July 2007 08:52 Go to previous messageGo to next message
Michel Cadot
Messages: 64145
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Why developer should have access to condifential data?
Never!
If there is problem, then it should have debugging tracing inside the code that can be activated to see what happens.
When this is not sufficient, then it should have test platform to reproduce the case with obfuscated data.

Regards
Michel
Re: Preventing programmer changing data [message #250291 is a reply to message #250145] Mon, 09 July 2007 08:53 Go to previous messageGo to next message
joy_division
Messages: 4643
Registered: February 2005
Location: East Coast USA
Senior Member
Michel Cadot wrote on Sun, 08 July 2007 12:50
Prime directive: programmers don't have access to production database.



I thought the prime directive was that Starfleet is not supposed to interfere in the normal development or inner workings of other planets.
Re: Preventing programmer changing data [message #250294 is a reply to message #250290] Mon, 09 July 2007 09:00 Go to previous messageGo to next message
MarcL
Messages: 455
Registered: November 2006
Location: Connecticut, USA
Senior Member
Michel Cadot wrote on Mon, 09 July 2007 08:52
Why developer should have access to condifential data?
Never!



Michel,

Currently I am not an outside consultant, or a 3rd party developer, but working for the manufacturing company. There are no confidentiality or proprietary issues in my situation.

Being able to see production data helps both myself and the users in expediting questions/bugs.

So never is quite strong :}
Re: Preventing programmer changing data [message #250295 is a reply to message #250294] Mon, 09 July 2007 09:04 Go to previous messageGo to next message
Michel Cadot
Messages: 64145
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:
Currently I am not an outside consultant, or a 3rd party developer, but working for the manufacturing company. There are no confidentiality or proprietary issues in my situation.

Ask you boss if he likes to see you watching how much he earns and where he lives...

[Edit] I don't know how it is in USA but in France it is illegal that to let someone that is not in HR department see others' private data.

Regards
Michel

[Updated on: Mon, 09 July 2007 10:25]

Report message to a moderator

Re: Preventing programmer changing data [message #250298 is a reply to message #250137] Mon, 09 July 2007 09:42 Go to previous messageGo to next message
MarcL
Messages: 455
Registered: November 2006
Location: Connecticut, USA
Senior Member

I am responsible for WIP, inventory and manufacturing and have nothing to do with HR or accounting functions other than sending transactional data.
Re: Preventing programmer changing data [message #250300 is a reply to message #250298] Mon, 09 July 2007 10:28 Go to previous message
Michel Cadot
Messages: 64145
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
And there are no confidential transactions?
Nothing that your boss don't want to go outside the entreprise?
Like providers or customers or stocks or ...?

Well, in this case, why not.

Regards
Michel
Previous Topic: Oracle REDO log switching - query / help
Next Topic: solution pl... 10g oracle scheduler + shell script
Goto Forum:
  


Current Time: Fri Dec 09 11:33:40 CST 2016

Total time taken to generate the page: 0.07170 seconds