Right now, while you can't open a bank unless you're physically in the coords, you can still deposit items with a very finnicky script someone shared with me. This prevents that for both bank booths and deposit boxes, and allows for future expansion to prevent other interfaces from being packet exploited.
TL;DR - Use Player.lastMainFrameInterface
to verify that the player actually has that interface. Previously, the client could just lie to the server by sending packets saying "Oh yeah, this interface is open, and I want to do that". This allows a server-side check to deny that.