import{s as $e,n as ve,o as be}from"../chunks/scheduler.a045fce0.js";import{S as we,i as xe,e as r,s as a,c as E,h as He,a as o,d as n,b as s,f as ye,g as S,j as l,k as ae,l as Ce,m as i,n as L,t as I,o as M,p as F}from"../chunks/index.c7f31426.js";import{H as k,E as _e}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.16774317.js";function Pe(se){let u,W,q,j,p,z,f,re=`Inference Endpoints are built with security and secure inference at their core. Below you can find an overview of the security measures
we have in place.`,A,m,R,g,oe=`Hugging Face does not store any customer data in terms of payloads or tokens that are passed to the Inference Endpoint.
We are storing logs for 30 days. Every Inference Endpoints uses TLS/SSL to encrypt the data in transit.`,Y,h,le=`We also recommend using AWS Private Link for organizations. This allows you to access your Inference Endpoint through a
private connection, without exposing it to the internet.`,B,d,ue=`Hugging Face also offers GDPR data processing agreement through an Enterprise Hub subscription. For more information or to
subscribe to Enterprise Hub, please visit <a href="https://huggingface.co/enterprise" rel="nofollow">https://huggingface.co/enterprise</a>.`,G,y,O,$,ce=`You can set a model repository as private if you do not want to publicly expose it. Hugging Face does not own any model or
data you upload to the Hugging Face Hub. Hugging Face also provides malware and pickle scans over the contents of the model
repository as with all items in the Hub.`,U,v,V,b,pe="The Hugging Face Hub and Inference Endpoints are SOC2 Type 2 certified. The Hugging Face Hub also offers Role Based Access Control.",J,w,fe="You can read more about security at Hugging Face in general in the following links:",K,x,me='<li>information on Hugging Face Hub security: <a href="https://huggingface.co/docs/hub/security" rel="nofollow">https://huggingface.co/docs/hub/security</a>.</li> <li>information on the Enterprise Hub subscription and its premium security features: <a href="https://huggingface.co/docs/hub/enterprise-hub" rel="nofollow">https://huggingface.co/docs/hub/enterprise-hub</a></li>',N,c,ge='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/security-soc-1.jpg" alt="soc-1" class="max-w-[300px] w-full"/>',Q,H,X,C,he=`We currently offer many different ways of securing your Inference Endpoints through the configuration. Please read more about it in the Inference Endpoints
configuration <a href="https://huggingface.co/docs/inference-endpoints/main/en/guides/configuration#security-level" rel="nofollow">section under security</a>.`,Z,_,ee,P,de='You can read the Hugging Face Privacy Policy at: <a href="https://huggingface.co/privacy" rel="nofollow">https://huggingface.co/privacy</a>',te,T,ne,D,ie;return p=new k({props:{title:"Security & Compliance",local:"security--compliance",headingTag:"h1"}}),m=new k({props:{title:"Data Security & Privacy",local:"data-security--privacy",headingTag:"h2"}}),y=new k({props:{title:"Model Security & Privacy",local:"model-security--privacy",headingTag:"h2"}}),v=new k({props:{title:"Inference Endpoints and Hub Security",local:"inference-endpoints-and-hub-security",headingTag:"h2"}}),H=new k({props:{title:"Inference Endpoint Security Level",local:"inference-endpoint-security-level",headingTag:"h2"}}),_=new k({props:{title:"Further Information",local:"further-information",headingTag:"h2"}}),T=new _e({props:{source:"https://github.com/huggingface/hf-endpoints-documentation/blob/main/docs/source/guides/security.md"}}),{c(){u=r("meta"),W=a(),q=r("p"),j=a(),E(p.$$.fragment),z=a(),f=r("p"),f.textContent=re,A=a(),E(m.$$.fragment),R=a(),g=r("p"),g.textContent=oe,Y=a(),h=r("p"),h.textContent=le,B=a(),d=r("p"),d.innerHTML=ue,G=a(),E(y.$$.fragment),O=a(),$=r("p"),$.textContent=ce,U=a(),E(v.$$.fragment),V=a(),b=r("p"),b.textContent=pe,J=a(),w=r("p"),w.textContent=fe,K=a(),x=r("ul"),x.innerHTML=me,N=a(),c=r("div"),c.innerHTML=ge,Q=a(),E(H.$$.fragment),X=a(),C=r("p"),C.innerHTML=he,Z=a(),E(_.$$.fragment),ee=a(),P=r("p"),P.innerHTML=de,te=a(),E(T.$$.fragment),ne=a(),D=r("p"),this.h()},l(e){const t=He("svelte-u9bgzb",document.head);u=o(t,"META",{name:!0,content:!0}),t.forEach(n),W=s(e),q=o(e,"P",{}),ye(q).forEach(n),j=s(e),S(p.$$.fragment,e),z=s(e),f=o(e,"P",{"data-svelte-h":!0}),l(f)!=="svelte-19238gs"&&(f.textContent=re),A=s(e),S(m.$$.fragment,e),R=s(e),g=o(e,"P",{"data-svelte-h":!0}),l(g)!=="svelte-1tqdc8o"&&(g.textContent=oe),Y=s(e),h=o(e,"P",{"data-svelte-h":!0}),l(h)!=="svelte-1yn39ar"&&(h.textContent=le),B=s(e),d=o(e,"P",{"data-svelte-h":!0}),l(d)!=="svelte-10t3kik"&&(d.innerHTML=ue),G=s(e),S(y.$$.fragment,e),O=s(e),$=o(e,"P",{"data-svelte-h":!0}),l($)!=="svelte-1vnkwci"&&($.textContent=ce),U=s(e),S(v.$$.fragment,e),V=s(e),b=o(e,"P",{"data-svelte-h":!0}),l(b)!=="svelte-1w0z2rg"&&(b.textContent=pe),J=s(e),w=o(e,"P",{"data-svelte-h":!0}),l(w)!=="svelte-bqpxcp"&&(w.textContent=fe),K=s(e),x=o(e,"UL",{"data-svelte-h":!0}),l(x)!=="svelte-1dcneic"&&(x.innerHTML=me),N=s(e),c=o(e,"DIV",{class:!0,"data-svelte-h":!0}),l(c)!=="svelte-18aap9s"&&(c.innerHTML=ge),Q=s(e),S(H.$$.fragment,e),X=s(e),C=o(e,"P",{"data-svelte-h":!0}),l(C)!=="svelte-mqp03e"&&(C.innerHTML=he),Z=s(e),S(_.$$.fragment,e),ee=s(e),P=o(e,"P",{"data-svelte-h":!0}),l(P)!=="svelte-1ke3h8w"&&(P.innerHTML=de),te=s(e),S(T.$$.fragment,e),ne=s(e),D=o(e,"P",{}),ye(D).forEach(n),this.h()},h(){ae(u,"name","hf:doc:metadata"),ae(u,"content",Te),ae(c,"class","flex justify-center")},m(e,t){Ce(document.head,u),i(e,W,t),i(e,q,t),i(e,j,t),L(p,e,t),i(e,z,t),i(e,f,t),i(e,A,t),L(m,e,t),i(e,R,t),i(e,g,t),i(e,Y,t),i(e,h,t),i(e,B,t),i(e,d,t),i(e,G,t),L(y,e,t),i(e,O,t),i(e,$,t),i(e,U,t),L(v,e,t),i(e,V,t),i(e,b,t),i(e,J,t),i(e,w,t),i(e,K,t),i(e,x,t),i(e,N,t),i(e,c,t),i(e,Q,t),L(H,e,t),i(e,X,t),i(e,C,t),i(e,Z,t),L(_,e,t),i(e,ee,t),i(e,P,t),i(e,te,t),L(T,e,t),i(e,ne,t),i(e,D,t),ie=!0},p:ve,i(e){ie||(I(p.$$.fragment,e),I(m.$$.fragment,e),I(y.$$.fragment,e),I(v.$$.fragment,e),I(H.$$.fragment,e),I(_.$$.fragment,e),I(T.$$.fragment,e),ie=!0)},o(e){M(p.$$.fragment,e),M(m.$$.fragment,e),M(y.$$.fragment,e),M(v.$$.fragment,e),M(H.$$.fragment,e),M(_.$$.fragment,e),M(T.$$.fragment,e),ie=!1},d(e){e&&(n(W),n(q),n(j),n(z),n(f),n(A),n(R),n(g),n(Y),n(h),n(B),n(d),n(G),n(O),n($),n(U),n(V),n(b),n(J),n(w),n(K),n(x),n(N),n(c),n(Q),n(X),n(C),n(Z),n(ee),n(P),n(te),n(ne),n(D)),n(u),F(p,e),F(m,e),F(y,e),F(v,e),F(H,e),F(_,e),F(T,e)}}}const Te='{"title":"Security & Compliance","local":"security--compliance","sections":[{"title":"Data Security & Privacy","local":"data-security--privacy","sections":[],"depth":2},{"title":"Model Security & Privacy","local":"model-security--privacy","sections":[],"depth":2},{"title":"Inference Endpoints and Hub Security","local":"inference-endpoints-and-hub-security","sections":[],"depth":2},{"title":"Inference Endpoint Security Level","local":"inference-endpoint-security-level","sections":[],"depth":2},{"title":"Further Information","local":"further-information","sections":[],"depth":2}],"depth":1}';function Ee(se){return be(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Me extends we{constructor(u){super(),xe(this,u,Ee,Pe,$e,{})}}export{Me as component};
