{"meta":{"title":"How-tos for leak prevention","intro":"Learn how to prevent future secret leaks with GitHub's push protection.","product":"Security and code quality","breadcrumbs":[{"href":"/en/enterprise-server@3.22/code-security","title":"Security and code quality"},{"href":"/en/enterprise-server@3.22/code-security/how-tos","title":"How-tos"},{"href":"/en/enterprise-server@3.22/code-security/how-tos/secure-your-secrets","title":"Secure your secrets"},{"href":"/en/enterprise-server@3.22/code-security/how-tos/secure-your-secrets/prevent-future-leaks","title":"Prevent future leaks"}],"documentType":"subcategory"},"body":"# How-tos for leak prevention\n\nLearn how to prevent future secret leaks with GitHub's push protection.\n\n## Links\n\n* [Enabling push protection for your repository](/en/enterprise-server@3.22/code-security/how-tos/secure-your-secrets/prevent-future-leaks/enable-push-protection)\n\n  With push protection, secret scanning blocks contributors from pushing secrets to a repository and generates an alert whenever a contributor bypasses the block.\n\n* [/manage-user-push-protection](/en/enterprise-server@3.22/manage-user-push-protection)"}