Thanks Edward Zhang,<br><br><br><font face="sans-serif">>>"</font><font face="serif">You can implement access control for objects either for users or accounts using XContainer-</font><br>
<font face="serif">Read: accountname and X-Container-Write: accountname:username, which</font><br>
<font face="serif">allows any user from the accountname account to read but only allows the username</font><br>
<font face="serif">user from the accountname account to write."</font><br><br>How do i create users in a account? Currently i have only admin:admin account with password admin.(one user per account)<br><br><br>
<br>
<font face="serif"><font><font></font></font>>>"You can also grant public access to objects stored in OpenStack Object Storage but also limit </font><br>
<font face="serif">public access using the Referer header to prevent site-based content theft such as hot-linking </font><br>
<font face="serif">(for example, linking to an image filefrom off-site and therefore using other's bandwidth). </font><br>
<font face="serif">The public container settings are used as the default authorization over access control lists. </font><br>
<font face="serif">For example, using X-Container-Read:referer:any allows anyone to read from the container regardless</font><br>
<font face="serif"> of other authorization settings.</font><br><br>Can i give public access that allows anyone to store/write the objects into a container. I have used referer for making container as public '.r:*'. Is there anything like this for write?<br>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 19 November 2012 10:36, Hua ZZ Zhang <span dir="ltr"><<a href="mailto:zhuadl@cn.ibm.com" target="_blank">zhuadl@cn.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p><font face="sans-serif">"</font><font face="serif">You can implement access control for objects either for users or accounts using XContainer-</font><br>
<font face="serif">Read: accountname and X-Container-Write: accountname:username, which</font><br>
<font face="serif">allows any user from the accountname account to read but only allows the username</font><br>
<font face="serif">user from the accountname account to write."</font><br>
<br>
<font face="serif">"You can also grant public access to objects stored in OpenStack Object Storage but also limit </font><br>
<font face="serif">public access using the Referer header to prevent site-based content theft such as hot-linking </font><br>
<font face="serif">(for example, linking to an image filefrom off-site and therefore using other's bandwidth). </font><br>
<font face="serif">The public container settings are used as the default authorization over access control lists. </font><br>
<font face="serif">For example, using X-Container-Read:referer:any allows anyone to read from the container regardless</font><br>
<font face="serif"> of other authorization settings.</font><font face="sans-serif">"</font><br>
<font face="sans-serif"><br>
</font><font face="serif" size="1"><b>Best Regards, </b></font><font face="serif" size="1"><br>
<br>
</font></p><hr align="left" size="2" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr valign="top"><td valign="middle" width="298">
<ul style="padding-left:0pt"><font face="serif" size="1"><b>Edward Zhang(张华)</b></font></ul>
</td><td valign="middle" width="298"><img src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" alt="" height="1" border="0" width="1"></td></tr>
<tr valign="top"><td valign="middle" width="298">
<ul style="padding-left:0pt"><img src="cid:2__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" height="100" width="100"></ul>
</td><td valign="middle" width="298"><img src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" alt="" height="1" border="0" width="1"></td></tr>
<tr valign="top"><td valign="middle" width="298">
<ul style="padding-left:0pt"><font face="serif" size="1"><br>
</font></ul>
</td><td valign="middle" width="298"><img src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" alt="" height="1" border="0" width="1"></td></tr>
</tbody></table>
<br>
<img src="cid:3__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" alt="Inactive hide details for Sujay M ---2012-11-19 11:59:55---Hi all," height="16" border="0" width="16"><font color="#424282" face="sans-serif">Sujay M ---2012-11-19 11:59:55---Hi all,</font><br>
<br>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr valign="top"><td style="background-image:url(cid:4__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com);background-repeat:no-repeat" width="40%">
<ul style="padding-left:72pt"><font face="sans-serif" size="1"><b>Sujay M <<a href="mailto:sujay.m17@gmail.com" target="_blank">sujay.m17@gmail.com</a>></b></font><font face="sans-serif" size="1"> </font><br>
<font face="sans-serif" size="1">Sent by: openstack-bounces+zhuadl=<a href="mailto:cn.ibm.com@lists.launchpad.net" target="_blank">cn.ibm.com@lists.launchpad.net</a></font>
<p><font face="sans-serif" size="1">2012-11-19 11:59</font></p></ul>
</td><td width="60%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr valign="top"><td width="1%"><img src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" alt="" height="1" border="0" width="58"><br>
<div align="right"><font face="sans-serif" size="1">To</font></div></td><td width="100%"><img src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" alt="" height="1" border="0" width="1"><br>
<ul style="padding-left:7pt"><font face="sans-serif" size="1"><a href="mailto:openstack-operators@lists.openstack.org" target="_blank">openstack-operators@lists.openstack.org</a>, <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>, <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a></font></ul>
</td></tr>
<tr valign="top"><td width="1%"><img src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" alt="" height="1" border="0" width="58"><br>
<div align="right"><font face="sans-serif" size="1">cc</font></div></td><td width="100%"><img src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" alt="" height="1" border="0" width="1"><br>
</td></tr>
<tr valign="top"><td width="1%"><img src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" alt="" height="1" border="0" width="58"><br>
<div align="right"><font face="sans-serif" size="1">Subject</font></div></td><td width="100%"><img src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" alt="" height="1" border="0" width="1"><br>
<ul style="padding-left:7pt"><font face="sans-serif" size="1">[Openstack] [Swift] Public Container's file listing</font></ul>
</td></tr>
</tbody></table>
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr valign="top"><td width="58"><img src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" alt="" height="1" border="0" width="1"></td><td width="336"><img src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" alt="" height="1" border="0" width="1"></td>
</tr>
</tbody></table>
</td></tr>
</tbody></table>
<br>
<font face="serif" size="3">Hi all,<br>
</font>
<p></p><div><div class="h5"><font face="serif" size="3">Currently it is showing Unauthorized if i give only public container name for listing of files in the public Container</font>
</div></div><p><a href="http://192.168.56.20:8080/v1/AUTH_test/publicContainer/" target="_blank"><font color="#0000FF" face="serif" size="3"><u>192.168.56.20:8080/v1/AUTH_test/publicContainer/</u></font></a>
</p><p><a href="http://192.168.56.20:8080/v1/AUTH_test/publicContainer" target="_blank"><font color="#0000FF" face="serif" size="3"><u>192.168.56.20:8080/v1/AUTH_test/publicContainer</u></font></a>
</p><p><font face="serif" size="3">Unauthorized</font>
</p><p>
</p><p></p><div><div class="h5"><font face="serif" size="3">Is there any way i can list the files publicly? Thanks in advance</font>
</div></div><p></p><div><div class="h5"><font face="serif" size="3"><br>
<br>
-- <br>
Best Regards,<br>
<br>
Sujay M<br>
Final year B.Tech<br>
Computer Engineering<br>
NITK Surathkal<br>
<br>
contact: +918971897571<br>
</font></div></div><tt><font>_______________________________________________<br>
Mailing list: </font></tt><tt><font><a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a></font></tt><tt><font><br>
Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : </font></tt><tt><font><a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a></font></tt><tt><font><br>
More help : </font></tt><tt><font><a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a></font></tt><tt><font><br>
</font></tt>
<p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p></div></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br><br>Sujay M<br>Final year B.Tech<br>Computer Engineering<br>NITK Surathkal<br><br>contact: +918971897571<br>
<br>
</div>