indeed. The guy who came up with the direct debit guarantee scheme used to brag that he was so confident with it he would happily put his account number and sort code on the side of a London bus
As long as you don’t put your 16 digit number on the front of your card and the 3 on the back, nobody can enter into your account.