# How-tos for leak prevention

Learn how to prevent future secret leaks with GitHub's push protection.

## Links

* [Enabling push protection for your repository](/en/enterprise-server@3.22/code-security/how-tos/secure-your-secrets/prevent-future-leaks/enable-push-protection)

  With push protection, secret scanning blocks contributors from pushing secrets to a repository and generates an alert whenever a contributor bypasses the block.

* [/manage-user-push-protection](/en/enterprise-server@3.22/manage-user-push-protection)