Shark barriers work on the principle of excluding sharks from a designated swimming area.
Shark barriers are not generally used on surf beaches because they usually disintegrate in the swell and so are normally constructed only around sheltered areas such as harbour beaches.