import{s as xe,n as be,o as we}from"../chunks/scheduler.eb244325.js";import{S as He,i as Ce,e as s,s as a,c as p,h as _e,a as o,d as n,b as r,f as ve,g as f,j as l,k as se,l as Pe,m as i,n as m,t as g,o as h,p as d}from"../chunks/index.661680a1.js";import{C as Te,H as q,E as Ee}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.d7a869ce.js";function Le(oe){let u,W,z,j,y,A,$,R,v,le=`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.`,Y,x,B,b,ue=`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.`,G,w,ce=`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.`,O,H,pe=`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>.`,U,C,V,_,fe=`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.`,J,P,K,T,me="The Hugging Face Hub and Inference Endpoints are SOC2 Type 2 certified. The Hugging Face Hub also offers Role Based Access Control.",N,E,ge="You can read more about security at Hugging Face in general in the following links:",Q,L,he='<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>',X,c,de='<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"/>',Z,S,ee,M,ye=`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>.`,te,I,ne,F,$e='You can read the Hugging Face Privacy Policy at: <a href="https://huggingface.co/privacy" rel="nofollow">https://huggingface.co/privacy</a>',ie,k,ae,D,re;return y=new Te({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),$=new q({props:{title:"Security & Compliance",local:"security--compliance",headingTag:"h1"}}),x=new q({props:{title:"Data Security & Privacy",local:"data-security--privacy",headingTag:"h2"}}),C=new q({props:{title:"Model Security & Privacy",local:"model-security--privacy",headingTag:"h2"}}),P=new q({props:{title:"Inference Endpoints and Hub Security",local:"inference-endpoints-and-hub-security",headingTag:"h2"}}),S=new q({props:{title:"Inference Endpoint Security Level",local:"inference-endpoint-security-level",headingTag:"h2"}}),I=new q({props:{title:"Further Information",local:"further-information",headingTag:"h2"}}),k=new Ee({props:{source:"https://github.com/huggingface/hf-endpoints-documentation/blob/main/docs/source/guides/security.md"}}),{c(){u=s("meta"),W=a(),z=s("p"),j=a(),p(y.$$.fragment),A=a(),p($.$$.fragment),R=a(),v=s("p"),v.textContent=le,Y=a(),p(x.$$.fragment),B=a(),b=s("p"),b.textContent=ue,G=a(),w=s("p"),w.textContent=ce,O=a(),H=s("p"),H.innerHTML=pe,U=a(),p(C.$$.fragment),V=a(),_=s("p"),_.textContent=fe,J=a(),p(P.$$.fragment),K=a(),T=s("p"),T.textContent=me,N=a(),E=s("p"),E.textContent=ge,Q=a(),L=s("ul"),L.innerHTML=he,X=a(),c=s("div"),c.innerHTML=de,Z=a(),p(S.$$.fragment),ee=a(),M=s("p"),M.innerHTML=ye,te=a(),p(I.$$.fragment),ne=a(),F=s("p"),F.innerHTML=$e,ie=a(),p(k.$$.fragment),ae=a(),D=s("p"),this.h()},l(e){const t=_e("svelte-u9bgzb",document.head);u=o(t,"META",{name:!0,content:!0}),t.forEach(n),W=r(e),z=o(e,"P",{}),ve(z).forEach(n),j=r(e),f(y.$$.fragment,e),A=r(e),f($.$$.fragment,e),R=r(e),v=o(e,"P",{"data-svelte-h":!0}),l(v)!=="svelte-19238gs"&&(v.textContent=le),Y=r(e),f(x.$$.fragment,e),B=r(e),b=o(e,"P",{"data-svelte-h":!0}),l(b)!=="svelte-1tqdc8o"&&(b.textContent=ue),G=r(e),w=o(e,"P",{"data-svelte-h":!0}),l(w)!=="svelte-1yn39ar"&&(w.textContent=ce),O=r(e),H=o(e,"P",{"data-svelte-h":!0}),l(H)!=="svelte-10t3kik"&&(H.innerHTML=pe),U=r(e),f(C.$$.fragment,e),V=r(e),_=o(e,"P",{"data-svelte-h":!0}),l(_)!=="svelte-1vnkwci"&&(_.textContent=fe),J=r(e),f(P.$$.fragment,e),K=r(e),T=o(e,"P",{"data-svelte-h":!0}),l(T)!=="svelte-1w0z2rg"&&(T.textContent=me),N=r(e),E=o(e,"P",{"data-svelte-h":!0}),l(E)!=="svelte-bqpxcp"&&(E.textContent=ge),Q=r(e),L=o(e,"UL",{"data-svelte-h":!0}),l(L)!=="svelte-1dcneic"&&(L.innerHTML=he),X=r(e),c=o(e,"DIV",{class:!0,"data-svelte-h":!0}),l(c)!=="svelte-18aap9s"&&(c.innerHTML=de),Z=r(e),f(S.$$.fragment,e),ee=r(e),M=o(e,"P",{"data-svelte-h":!0}),l(M)!=="svelte-mqp03e"&&(M.innerHTML=ye),te=r(e),f(I.$$.fragment,e),ne=r(e),F=o(e,"P",{"data-svelte-h":!0}),l(F)!=="svelte-1ke3h8w"&&(F.innerHTML=$e),ie=r(e),f(k.$$.fragment,e),ae=r(e),D=o(e,"P",{}),ve(D).forEach(n),this.h()},h(){se(u,"name","hf:doc:metadata"),se(u,"content",Se),se(c,"class","flex justify-center")},m(e,t){Pe(document.head,u),i(e,W,t),i(e,z,t),i(e,j,t),m(y,e,t),i(e,A,t),m($,e,t),i(e,R,t),i(e,v,t),i(e,Y,t),m(x,e,t),i(e,B,t),i(e,b,t),i(e,G,t),i(e,w,t),i(e,O,t),i(e,H,t),i(e,U,t),m(C,e,t),i(e,V,t),i(e,_,t),i(e,J,t),m(P,e,t),i(e,K,t),i(e,T,t),i(e,N,t),i(e,E,t),i(e,Q,t),i(e,L,t),i(e,X,t),i(e,c,t),i(e,Z,t),m(S,e,t),i(e,ee,t),i(e,M,t),i(e,te,t),m(I,e,t),i(e,ne,t),i(e,F,t),i(e,ie,t),m(k,e,t),i(e,ae,t),i(e,D,t),re=!0},p:be,i(e){re||(g(y.$$.fragment,e),g($.$$.fragment,e),g(x.$$.fragment,e),g(C.$$.fragment,e),g(P.$$.fragment,e),g(S.$$.fragment,e),g(I.$$.fragment,e),g(k.$$.fragment,e),re=!0)},o(e){h(y.$$.fragment,e),h($.$$.fragment,e),h(x.$$.fragment,e),h(C.$$.fragment,e),h(P.$$.fragment,e),h(S.$$.fragment,e),h(I.$$.fragment,e),h(k.$$.fragment,e),re=!1},d(e){e&&(n(W),n(z),n(j),n(A),n(R),n(v),n(Y),n(B),n(b),n(G),n(w),n(O),n(H),n(U),n(V),n(_),n(J),n(K),n(T),n(N),n(E),n(Q),n(L),n(X),n(c),n(Z),n(ee),n(M),n(te),n(ne),n(F),n(ie),n(ae),n(D)),n(u),d(y,e),d($,e),d(x,e),d(C,e),d(P,e),d(S,e),d(I,e),d(k,e)}}}const Se='{"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 Me(oe){return we(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class qe extends He{constructor(u){super(),Ce(this,u,Me,Le,xe,{})}}export{qe as component};
