A government minister says said people have been taking risks by going into the water, with many accidents occurring in areas that are not authorised for swimming.