New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database Triggers [CORE745] #1120
Comments
Commented by: Alice F. Bird (firebirds) Date: 2006-03-31 16:23 This entry duplicates #807890, but I have deleted the older |
Modified by: @dyemanovComponent: Engine [ 10000 ] assignee: Dmitry Yemanov [ dimitr ] SF_ID: 1461705 => |
Modified by: @pcisarassignee: Dmitry Yemanov [ dimitr ] => |
Modified by: @dyemanovassignee: Adriano dos Santos Fernandes [ asfernandes ] |
Modified by: @asfernandesstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.1 [ 10041 ] SF_ID: 1461705 => |
Modified by: @pcisarFix Version: 2.1 Alpha 1 [ 10150 ] SF_ID: 1461705 => Fix Version: 2.1.0 [ 10041 ] => |
Modified by: @pcisarWorkflow: jira [ 10769 ] => Firebird [ 15175 ] |
Modified by: @pmakowskistatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pavel-zotovstatus: Closed [ 6 ] => Closed [ 6 ] QA Status: Covered by another test(s) Test Details: See: |
Submitted by: Michael Trowe (bubble76)
Is duplicated by CORE645
Is related to QA106
SFID: 1461705#
Submitted By: bubble76
I think it would be useful to have triggers for
database-wide events.
Like:
AFTER LOGIN
BEFORE LOGOUT
AFTER TRANSACTION_START
BEFORE TRANSACTION_COMMIT
With this you can create a session-log or set
predefined contextvalues (rdb$set_context).
And in case that an exception in AFTER LOGIN breaks the
connection you can do an additional user verification.
e.g. check if the login for the user is allowed from
rdb$get_context('SYSTEM', 'CLIENT_ADDRESS').
And it brings one kind of lowlevel-security: You can
prevent that it is possible to connect to the database
on a server where the SYSDBA password is known. Ok -
it's pseudo security as long as the database isn't
crypted, and everyone can build it's own fb-version
ignoring this triggers. But in some cases it's enough.
Commits: 570b6cd
====== Test Details ======
See:
functional\trigger\database\transaction_*.fbt
functional\trigger\database\connect_*.fbt
The text was updated successfully, but these errors were encountered: