import{s as V,y as W,n as X,o as Y}from"../chunks/scheduler.12fdeddc.js";import{S as Z,i as ee,g as o,s,r as E,A as te,h as l,f as a,c as r,j as N,u as G,x as _,k as F,y as ae,a as i,v as j,d as q,t as O,w as R}from"../chunks/index.88dae322.js";import{H as Q,E as ie}from"../chunks/getInferenceSnippets.00466244.js";function se(I){let n,w,$,H,c,S,u,U='The Hugging Face Hub offers several security features to ensure that your code and data are secure. Beyond offering <a href="./repositories-settings#private-repositories">private repositories</a> for models, datasets, and Spaces, the Hub supports access tokens, resource groups, MFA, commit signatures, malware scanning, and more.',T,f,z='Hugging Face is GDPR compliant. If a contract or specific data storage is something you’ll need, we recommend taking a look at our <a href="https://huggingface.co/support" rel="nofollow">Enterprise Hub Support</a>. Hugging Face can also offer Business Associate Addendums or GDPR data processing agreements through an <a href="https://huggingface.co/pricing" rel="nofollow">Enterprise Plan</a>.',P,p,B='Hugging Face is also <a href="https://us.aicpa.org/interestareas/frc/assuranceadvisoryservices/aicpasoc2report.html" rel="nofollow">SOC2 Type 2 certified</a>, meaning we provide security certification to our customers and actively monitor and patch any security weaknesses.',M,m,D,b,g,J='For any other security questions, please feel free to send us an email at <a href="mailto:security@huggingface.co">security@huggingface.co</a>.',L,h,A,d,K='<li><a href="./security-tokens">User Access Tokens</a></li> <li><a href="./security-2fa">Two-Factor Authentication (2FA)</a></li> <li><a href="./security-git-ssh">Git over SSH</a></li> <li><a href="./security-gpg">Signing commits with GPG</a></li> <li><a href="./security-sso">Single Sign-On (SSO)</a></li> <li><a href="./security-resource-groups">Advanced Access Control (Resource Groups)</a></li> <li><a href="./security-malware">Malware Scanning</a></li> <li><a href="./security-pickle">Pickle Scanning</a></li> <li><a href="./security-secrets">Secrets Scanning</a></li> <li><a href="./security-protectai">Third-party scanner: Protect AI</a></li> <li><a href="./security-jfrog">Third-party scanner: JFrog</a></li>',x,y,C,v,k;return c=new Q({props:{title:"Security",local:"security",headingTag:"h1"}}),h=new Q({props:{title:"Contents",local:"contents",headingTag:"h2"}}),y=new ie({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/security.md"}}),{c(){n=o("meta"),w=s(),$=o("p"),H=s(),E(c.$$.fragment),S=s(),u=o("p"),u.innerHTML=U,T=s(),f=o("p"),f.innerHTML=z,P=s(),p=o("p"),p.innerHTML=B,M=s(),m=o("img"),b=s(),g=o("p"),g.innerHTML=J,L=s(),E(h.$$.fragment),A=s(),d=o("ul"),d.innerHTML=K,x=s(),E(y.$$.fragment),C=s(),v=o("p"),this.h()},l(e){const t=te("svelte-u9bgzb",document.head);n=l(t,"META",{name:!0,content:!0}),t.forEach(a),w=r(e),$=l(e,"P",{}),N($).forEach(a),H=r(e),G(c.$$.fragment,e),S=r(e),u=l(e,"P",{"data-svelte-h":!0}),_(u)!=="svelte-pjc76f"&&(u.innerHTML=U),T=r(e),f=l(e,"P",{"data-svelte-h":!0}),_(f)!=="svelte-rrut23"&&(f.innerHTML=z),P=r(e),p=l(e,"P",{"data-svelte-h":!0}),_(p)!=="svelte-xabzm8"&&(p.innerHTML=B),M=r(e),m=l(e,"IMG",{width:!0,src:!0}),b=r(e),g=l(e,"P",{"data-svelte-h":!0}),_(g)!=="svelte-jiqoom"&&(g.innerHTML=J),L=r(e),G(h.$$.fragment,e),A=r(e),d=l(e,"UL",{"data-svelte-h":!0}),_(d)!=="svelte-r13n9i"&&(d.innerHTML=K),x=r(e),G(y.$$.fragment,e),C=r(e),v=l(e,"P",{}),N(v).forEach(a),this.h()},h(){F(n,"name","hf:doc:metadata"),F(n,"content",re),F(m,"width","150"),W(m.src,D="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/security-soc-1.jpg")||F(m,"src",D)},m(e,t){ae(document.head,n),i(e,w,t),i(e,$,t),i(e,H,t),j(c,e,t),i(e,S,t),i(e,u,t),i(e,T,t),i(e,f,t),i(e,P,t),i(e,p,t),i(e,M,t),i(e,m,t),i(e,b,t),i(e,g,t),i(e,L,t),j(h,e,t),i(e,A,t),i(e,d,t),i(e,x,t),j(y,e,t),i(e,C,t),i(e,v,t),k=!0},p:X,i(e){k||(q(c.$$.fragment,e),q(h.$$.fragment,e),q(y.$$.fragment,e),k=!0)},o(e){O(c.$$.fragment,e),O(h.$$.fragment,e),O(y.$$.fragment,e),k=!1},d(e){e&&(a(w),a($),a(H),a(S),a(u),a(T),a(f),a(P),a(p),a(M),a(m),a(b),a(g),a(L),a(A),a(d),a(x),a(C),a(v)),a(n),R(c,e),R(h,e),R(y,e)}}}const re='{"title":"Security","local":"security","sections":[{"title":"Contents","local":"contents","sections":[],"depth":2}],"depth":1}';function ne(I){return Y(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ue extends Z{constructor(n){super(),ee(this,n,ne,se,V,{})}}export{ue as component};
