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 G,A as te,h as o,f as a,c as n,j as N,u as F,x as _,k as E,y as ae,a as i,v as q,d as j,t as O,w as R}from"../chunks/index.fcd4cc08.js";import{H as Q,E as ie}from"../chunks/EditOnGithub.da2b595c.js";function se(U){let r,w,$,H,c,S,u,z='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.',T,m,B='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,f,D='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,I,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-resource-groups">Resource Groups</a></li>',k,y,C,v,A;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(){r=l("meta"),w=s(),$=l("p"),H=s(),G(c.$$.fragment),S=s(),u=l("p"),u.innerHTML=z,T=s(),m=l("p"),m.innerHTML=B,P=s(),f=l("p"),f.innerHTML=D,M=s(),p=l("img"),b=s(),g=l("p"),g.innerHTML=J,x=s(),G(h.$$.fragment),L=s(),d=l("ul"),d.innerHTML=K,k=s(),G(y.$$.fragment),C=s(),v=l("p"),this.h()},l(e){const t=te("svelte-u9bgzb",document.head);r=o(t,"META",{name:!0,content:!0}),t.forEach(a),w=n(e),$=o(e,"P",{}),N($).forEach(a),H=n(e),F(c.$$.fragment,e),S=n(e),u=o(e,"P",{"data-svelte-h":!0}),_(u)!=="svelte-1p6ovuq"&&(u.innerHTML=z),T=n(e),m=o(e,"P",{"data-svelte-h":!0}),_(m)!=="svelte-1xmj4ws"&&(m.innerHTML=B),P=n(e),f=o(e,"P",{"data-svelte-h":!0}),_(f)!=="svelte-xabzm8"&&(f.innerHTML=D),M=n(e),p=o(e,"IMG",{width:!0,src:!0}),b=n(e),g=o(e,"P",{"data-svelte-h":!0}),_(g)!=="svelte-jiqoom"&&(g.innerHTML=J),x=n(e),F(h.$$.fragment,e),L=n(e),d=o(e,"UL",{"data-svelte-h":!0}),_(d)!=="svelte-2up4m0"&&(d.innerHTML=K),k=n(e),F(y.$$.fragment,e),C=n(e),v=o(e,"P",{}),N(v).forEach(a),this.h()},h(){E(r,"name","hf:doc:metadata"),E(r,"content",ne),E(p,"width","150"),W(p.src,I="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/security-soc-1.jpg")||E(p,"src",I)},m(e,t){ae(document.head,r),i(e,w,t),i(e,$,t),i(e,H,t),q(c,e,t),i(e,S,t),i(e,u,t),i(e,T,t),i(e,m,t),i(e,P,t),i(e,f,t),i(e,M,t),i(e,p,t),i(e,b,t),i(e,g,t),i(e,x,t),q(h,e,t),i(e,L,t),i(e,d,t),i(e,k,t),q(y,e,t),i(e,C,t),i(e,v,t),A=!0},p:X,i(e){A||(j(c.$$.fragment,e),j(h.$$.fragment,e),j(y.$$.fragment,e),A=!0)},o(e){O(c.$$.fragment,e),O(h.$$.fragment,e),O(y.$$.fragment,e),A=!1},d(e){e&&(a(w),a($),a(H),a(S),a(u),a(T),a(m),a(P),a(f),a(M),a(p),a(b),a(g),a(x),a(L),a(d),a(k),a(C),a(v)),a(r),R(c,e),R(h,e),R(y,e)}}}const ne='{"title":"Security","local":"security","sections":[{"title":"Contents","local":"contents","sections":[],"depth":2}],"depth":1}';function re(U){return Y(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ue extends Z{constructor(r){super(),ee(this,r,re,se,V,{})}}export{ue as component};
