import{s as V,y as W,n as X,o as Y}from"../chunks/scheduler.d6170356.js";import{S as Z,i as ee,g as l,s,r as F,A as te,h as o,f as a,c as r,j as N,u as G,x as _,k as E,y as ae,a as i,v as j,d as q,t as O,w as R}from"../chunks/index.fcd4cc08.js";import{H as Q,E as ie}from"../chunks/getInferenceSnippets.0f6acb26.js";function se(I){let n,w,$,H,c,T,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, commit signatures, and malware scanning.',S,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">Expert Acceleration Program</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,m,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,p,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>.',x,h,L,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-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> <li><a href="./security-resource-groups">Resource Groups</a></li>',k,y,A,v,C;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=l("meta"),w=s(),$=l("p"),H=s(),F(c.$$.fragment),T=s(),u=l("p"),u.innerHTML=U,S=s(),f=l("p"),f.innerHTML=z,P=s(),m=l("p"),m.innerHTML=B,M=s(),p=l("img"),b=s(),g=l("p"),g.innerHTML=J,x=s(),F(h.$$.fragment),L=s(),d=l("ul"),d.innerHTML=K,k=s(),F(y.$$.fragment),A=s(),v=l("p"),this.h()},l(e){const t=te("svelte-u9bgzb",document.head);n=o(t,"META",{name:!0,content:!0}),t.forEach(a),w=r(e),$=o(e,"P",{}),N($).forEach(a),H=r(e),G(c.$$.fragment,e),T=r(e),u=o(e,"P",{"data-svelte-h":!0}),_(u)!=="svelte-1p6ovuq"&&(u.innerHTML=U),S=r(e),f=o(e,"P",{"data-svelte-h":!0}),_(f)!=="svelte-1xmj4ws"&&(f.innerHTML=z),P=r(e),m=o(e,"P",{"data-svelte-h":!0}),_(m)!=="svelte-xabzm8"&&(m.innerHTML=B),M=r(e),p=o(e,"IMG",{width:!0,src:!0}),b=r(e),g=o(e,"P",{"data-svelte-h":!0}),_(g)!=="svelte-jiqoom"&&(g.innerHTML=J),x=r(e),G(h.$$.fragment,e),L=r(e),d=o(e,"UL",{"data-svelte-h":!0}),_(d)!=="svelte-du46mw"&&(d.innerHTML=K),k=r(e),G(y.$$.fragment,e),A=r(e),v=o(e,"P",{}),N(v).forEach(a),this.h()},h(){E(n,"name","hf:doc:metadata"),E(n,"content",re),E(p,"width","150"),W(p.src,D="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/security-soc-1.jpg")||E(p,"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,T,t),i(e,u,t),i(e,S,t),i(e,f,t),i(e,P,t),i(e,m,t),i(e,M,t),i(e,p,t),i(e,b,t),i(e,g,t),i(e,x,t),j(h,e,t),i(e,L,t),i(e,d,t),i(e,k,t),j(y,e,t),i(e,A,t),i(e,v,t),C=!0},p:X,i(e){C||(q(c.$$.fragment,e),q(h.$$.fragment,e),q(y.$$.fragment,e),C=!0)},o(e){O(c.$$.fragment,e),O(h.$$.fragment,e),O(y.$$.fragment,e),C=!1},d(e){e&&(a(w),a($),a(H),a(T),a(u),a(S),a(f),a(P),a(m),a(M),a(p),a(b),a(g),a(x),a(L),a(d),a(k),a(A),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};
