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.8 KiB
HTML
28 lines
3.8 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">Authorizing Access Permissions to Anonymous Users</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_b1395123914108">Overview</strong> page of the bucket 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. The <strong id="obs_03_0319__b1463819229533">Link</strong> displays the shared link of the object. For details, see <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 the URL. The object 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 resides in the root directory of the bucket, its URL does not contain the 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><li id="obs_03_0319__li51974374">The method of using a browser to access objects varies depending on the object type. You can directly open <strong id="obs_03_0319__b125915308817534">.txt</strong> and <strong id="obs_03_0319__b53490017534">.html</strong> files using a browser. However, when you open <strong id="obs_03_0319__b355644574191548">.exe</strong> and <strong id="obs_03_0319__b1051939472191548">.dat</strong> files using a browser, the files are automatically downloaded to your local computer.</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> |