"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[809],{3905:(e,r,t)=>{t.d(r,{Zo:()=>p,kt:()=>b});varn=t(7294);functiona(e,r,t){returnrine?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}functioni(e,r){vart=Object.keys(e);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){returnObject.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}returnt}functiono(e){for(varr=1;r<arguments.length;r++){vart=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){a(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}returne}functions(e,r){if(null==e)return{};vart,n,a=function(e,r){if(null==e)return{};vart,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(a[t]=e[t]);returna}(e,r);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}returna}varc=n.createContext({}),l=function(e){varr=n.useContext(c),t=r;returne&&(t="function"==typeofe?e(r):o(o({},r),e)),t},p=function(e){varr=l(e.components);returnn.createElement(c.Provider,{value:r},e.children)},u="mdxType",h={inlineCode:"code",wrapper:function(e){varr=e.children;returnn.createElement(n.Fragment,{},r)}},d=n.forwardRef((function(e,r){vart=e.components,a=e.mdxType,i=e.originalType,c=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=l(t),d=a,b=u["".concat(c,".").concat(d)]||u[d]||h[d]||i;returnt?n.createElement(b,o(o({ref:r},p),{},{components:t})):n.createElement(b,o({ref:r},p))}));functionb(e,r){vart=arguments,a=r&&r.mdxType;if("string"==typeofe||a){vari=t.length,o=newArray(i);o[0]=d;vars={};for(varcinr)hasOwnProperty.call(r,c)&&(s[c]=r[c]);s.originalType=e,s[u]="string"==typeofe?e:a,o[1]=s;for(varl=2;l<i;l++)o[l]=t[l];returnn.createElement.apply(null,o)}returnn.createElement.apply(null,t)}d.displayName="MDXCreateElement"},7383:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>o,default:()=>u,frontMatter:()=>i,metadata:()=>s,toc:()=>l});varn=t(7462),a=(t(7294),t(3905));consti={sidebar_position:10},o="Shares - Public",s={unversionedId:"core-features/sharing-public",id:"core-features/sharing-public",title:"Shares - Public",description:"zrok was built to share and access digital resources. a public share allows something to be shared through",source:"@site/../docs/core-features/sharing-public.md",sourceDirName:"core-features",slug:"/core-features/sharing-public",permalink:"/docs/core-features/sharing-public",draft:!1,editUrl:"https://github.com/openziti/zrok/tree/main/../docs/core-features/sharing-public.md",tags:[],version:"current",sidebarPosition:10,frontMatter:{sidebar_position:10},sidebar:"tutorialSidebar",previous:{title:"Shares - Private",permalink:"/docs/core-features/sharing-private"},next:{title:"Shares - Reserved",permalink:"/docs/core-features/sharing-reserved"}},c={},l=[{value:"Public Sharing",id:"public-sharing",level:2}],p={toc:l};functionu(e){let{components:r,...i}=e;return(0,a.kt)("wrapper",(0,n.Z)({},p,i,{components:r,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"shares---public"},"Shares - Public"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"zrok")," was built to share and access digital resources. a ",(0,a.kt)("inlineCode",{parentName:"p"},"public")," share allows something to be shared through\na publicly available endpoint."),(0,a.kt)("h2",{id:"public-sharing"},"Public Sharing"),(0,a.kt)("p",null,(0,a.kt)("img",{alt:"zrok_public_share",src:t(6831).Z,width:"2200",height:"916"})),(0,a.kt)("p",null,"Sharing something with ",(0,a.kt)("inlineCode",{parentName:"p"},"public")," is useful when the person or service accessing the thing being shared doesn't\nhave ",(0,a.kt)("inlineCode",{parentName:"p"},"zrok"),"runninglocallyandcan'tmakeuseofthe