<html><body>
<p><font size="2" face="sans-serif">"</font><font size="2" face="serif">You can implement access control for objects either for users or accounts using XContainer-</font><br>
<font size="2" face="serif">Read: accountname and X-Container-Write: accountname:username, which</font><br>
<font size="2" face="serif">allows any user from the accountname account to read but only allows the username</font><br>
<font size="2" face="serif">user from the accountname account to write."</font><br>
<br>
<font size="2" face="serif">"You can also grant public access to objects stored in OpenStack Object Storage but also limit </font><br>
<font size="2" face="serif">public access using the Referer header to prevent site-based content theft such as hot-linking </font><br>
<font size="2" face="serif">(for example, linking to an image filefrom off-site and therefore using other's bandwidth). </font><br>
<font size="2" face="serif">The public container settings are used as the default authorization over access control lists. </font><br>
<font size="2" face="serif">For example, using X-Container-Read:referer:any allows anyone to read from the container regardless</font><br>
<font size="2" face="serif"> of other authorization settings.</font><font size="2" face="sans-serif">"</font><br>
<font size="2" face="sans-serif"><br>
</font><font size="1" face="serif"><b>Best Regards, </b></font><font size="1" face="serif"><br>
<br>
</font><hr width="100%" size="2" align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="298" valign="middle">
<ul style="padding-left: 0pt"><font size="1" face="serif"><b>Edward Zhang(́Ȼ)</b></font></ul>
</td><td width="298" valign="middle"><img width="1" height="1" src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" border="0" alt=""></td></tr>
<tr valign="top"><td width="298" valign="middle">
<ul style="padding-left: 0pt"><img src="cid:2__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" width="100" height="100"></ul>
</td><td width="298" valign="middle"><img width="1" height="1" src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" border="0" alt=""></td></tr>
<tr valign="top"><td width="298" valign="middle">
<ul style="padding-left: 0pt"><font size="1" face="serif"><br>
</font></ul>
</td><td width="298" valign="middle"><img width="1" height="1" src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" border="0" alt=""></td></tr>
</table>
<br>
<img width="16" height="16" src="cid:3__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" border="0" alt="Inactive hide details for Sujay M ---2012-11-19 11:59:55---Hi all,"><font size="2" color="#424282" face="sans-serif">Sujay M ---2012-11-19 11:59:55---Hi all,</font><br>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<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 size="1" face="sans-serif"><b>Sujay M <sujay.m17@gmail.com></b></font><font size="1" face="sans-serif"> </font><br>
<font size="1" face="sans-serif">Sent by: openstack-bounces+zhuadl=cn.ibm.com@lists.launchpad.net</font>
<p><font size="1" face="sans-serif">2012-11-19 11:59</font></ul>
</td><td width="60%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
<div align="right"><font size="1" face="sans-serif">To</font></div></td><td width="100%"><img width="1" height="1" src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
<ul style="padding-left: 7pt"><font size="1" face="sans-serif">openstack-operators@lists.openstack.org, openstack@lists.launchpad.net, openstack-dev@lists.openstack.org</font></ul>
</td></tr>
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
<div align="right"><font size="1" face="sans-serif">cc</font></div></td><td width="100%"><img width="1" height="1" src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
</td></tr>
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
<div align="right"><font size="1" face="sans-serif">Subject</font></div></td><td width="100%"><img width="1" height="1" src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
<ul style="padding-left: 7pt"><font size="1" face="sans-serif">[Openstack] [Swift] Public Container's file listing</font></ul>
</td></tr>
</table>
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="58"><img width="1" height="1" src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" border="0" alt=""></td><td width="336"><img width="1" height="1" src="cid:1__=C7BBF028DF88F8C18f9e8a93df938@cn.ibm.com" border="0" alt=""></td></tr>
</table>
</td></tr>
</table>
<br>
<font size="3" face="serif">Hi all,<br>
</font>
<p><font size="3" face="serif">Currently it is showing Unauthorized if i give only public container name for listing of files in the public Container</font>
<p><a href="http://192.168.56.20:8080/v1/AUTH_test/publicContainer/"><font size="3" color="#0000FF" face="serif"><u>192.168.56.20:8080/v1/AUTH_test/publicContainer/</u></font></a>
<p><a href="http://192.168.56.20:8080/v1/AUTH_test/publicContainer"><font size="3" color="#0000FF" face="serif"><u>192.168.56.20:8080/v1/AUTH_test/publicContainer</u></font></a>
<p><font size="3" face="serif">Unauthorized</font>
<p>
<p><font size="3" face="serif">Is there any way i can list the files publicly? Thanks in advance</font>
<p><font size="3" face="serif"><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><tt><font size="2">_______________________________________________<br>
Mailing list: </font></tt><tt><font size="2"><a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></font></tt><tt><font size="2"><br>
Post to : openstack@lists.launchpad.net<br>
Unsubscribe : </font></tt><tt><font size="2"><a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></font></tt><tt><font size="2"><br>
More help : </font></tt><tt><font size="2"><a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a></font></tt><tt><font size="2"><br>
</font></tt>
<p></body></html>