Skip to content
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

Closed
firebird-automations opened this issue Mar 31, 2006 · 11 comments
Closed

Database Triggers [CORE745] #1120

firebird-automations opened this issue Mar 31, 2006 · 11 comments

Comments

@firebird-automations
Copy link
Collaborator

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

@firebird-automations
Copy link
Collaborator Author

Commented by: Alice F. Bird (firebirds)

Date: 2006-03-31 16:23
Sender: dimitr
Logged In: YES
user_id=61270

This entry duplicates #⁠807890, but I have deleted the older
one because this one is more detailed and has a real submitter.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is duplicated by CORE645 [ CORE645 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Component: Engine [ 10000 ]

assignee: Dmitry Yemanov [ dimitr ]

SF_ID: 1461705 =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

assignee: Dmitry Yemanov [ dimitr ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.1 [ 10041 ]

SF_ID: 1461705 =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Fix Version: 2.1 Alpha 1 [ 10150 ]

SF_ID: 1461705 =>

Fix Version: 2.1.0 [ 10041 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA106 [ QA106 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 10769 ] => Firebird [ 15175 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pmakowski

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: Covered by another test(s)

Test Details: See:
functional\trigger\database\transaction_*.fbt
functional\trigger\database\connect_*.fbt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants