How can I Disable notesSession.GetDatabase access

Is there any way to prevent someone from using the

“Set notesDatabase = notesSession.GetDatabase( server$, dbfile$ [, createonfail ] )” command

in a local agent on their PC to open a server database to retrieve information?

I have a need to stop anyone accessing a database without authorization.

Subject: EOM