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