That's an excellent and very practical question for urban management. The most secure method involves using proper masonry anchors and a bit of forethought. Here’s a breakdown of the best approach.
First, you need the right hardware. Standard screws or plastic plugs will fail. You must use expansion anchors (sleeve anchors) or wedge anchors designed for brick or concrete. For a heavy-duty bin, consider through-bolts with a backplate for the ultimate hold. Stainless steel is best for corrosion resistance.
The installation is key. Use a hammer drill with a carbide-tipped masonry bit to drill holes slightly deeper than the anchor length. Clean the holes of all dust. Insert the anchor, position your bin's bracket, and tighten the bolt. The anchor expands behind the brick, creating a powerful mechanical lock.
For added security against theft, use specialized anti-vandal fasteners like security Torx or one-way screw heads that require unique tools to remove. Pair this with a lockable bin attached via a heavy-duty hasp and staple, also anchored into the brick.
Crucially, avoid mortar joints. They are weaker than the bricks themselves. Always drill into the solid, intact brick face. This ensures the anchor has maximum holding power.
Finally, consider the bin's placement. Mount it high enough to deter casual tipping but at a practical height for use. A well-secured, lockable bin attached directly to the structural brick with quality anchors is your best defense against theft, vandalism, and wind in an urban alley.