I dangle a cable lock from the saddle rails. Then when parked, I lock the frame and rear wheel to the rack with a U-lock. And lock the cable lock either to the rack, or to the bicycle frame.
This is a low crime area where I feel confident doing so. YMMV.