forked from docs/doc-exports
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
28 lines
3.3 KiB
HTML
28 lines
3.3 KiB
HTML
<a name="obs_03_0319"></a><a name="obs_03_0319"></a>
|
|
|
|
<h1 class="topictitle1">Accessing an Object Using Its URL</h1>
|
|
<div id="body1499753333226"><p id="obs_03_0319__p52840251">You can grant anonymous users the read permission for an object so they can access the object using the shared object URL.</p>
|
|
<div class="section" id="obs_03_0319__section30275088154354"><h4 class="sectiontitle">Prerequisites</h4><p id="obs_03_0319__p29161518111617">Anonymous users have the read permission for the object. For details about permission granting, see <a href="obs_03_0132.html">Granting Anonymous Users Permission to Access Objects</a>.</p>
|
|
<div class="note" id="obs_03_0319__note146717621833"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="obs_03_0319__p649370001833">Encrypted objects cannot be shared.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="obs_03_0319__section5800216"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0319__ol40467839"><li id="obs_03_0319__li99821455306"><span>In the bucket list, click the bucket you want to operate. The <strong id="obs_03_0319__obs_03_0307_b144421021120">Overview</strong> page is displayed.</span></li><li id="obs_03_0319__li1733753692411"><span>In the navigation pane, choose <strong id="obs_03_0319__obs_03_0307_b51941856151917">Objects</strong>.</span></li><li id="obs_03_0319__li7799114123311"><span>Click the object to be shared. The object information is displayed on the top part of the page. You can find the link for accessing the object in the <strong id="obs_03_0319__b1463819229533">Link</strong> area, as shown in <a href="#obs_03_0319__fig36534596192426">Figure 1</a>.</span><p><div class="p" id="obs_03_0319__p71187615336">Anonymous users can access the object by clicking this link. An object link (URL) is in the format of <strong id="obs_03_0319__b979520558143">https://</strong><em id="obs_03_0319__i5919124053212">Bucket name</em>.<em id="obs_03_0319__i19207408328">Domain name</em>/<em id="obs_03_0319__i09211340163217">Directory level</em>/<em id="obs_03_0319__i9922194020326">Object name</em>. If the object is stored in the root directory of the bucket, its URL does not contain any directory level. <div class="fignone" id="obs_03_0319__fig36534596192426"><a name="obs_03_0319__fig36534596192426"></a><a name="fig36534596192426"></a><span class="figcap"><b>Figure 1 </b>Object link</span><br><span><img id="obs_03_0319__image5532117197" src="en-us_image_0129482329.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
<div class="note" id="obs_03_0319__note41328764"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="obs_03_0319__ul36414557"><li id="obs_03_0319__li55401584101033">To allow anonymous users to access objects in Cold storage using URLs, ensure that these objects are in the <strong id="obs_03_0319__b1811155082219">Restored</strong> state.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0315.html">Managing Objects</a></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script language="JavaScript">
|
|
<!--
|
|
image_size('.imgResize');
|
|
var msg_imageMax = "view original image";
|
|
var msg_imageClose = "close";
|
|
//--></script> |