<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Metaverse Ink Blog &#187; Metaverse Ink Blog &#187;  &#187; hg 2.0</title>
	<atom:link href="http://www.metaverseink.com/blog/tag/hg-2-0/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.metaverseink.com/blog</link>
	<description>Virtual Worlds and Beyond</description>
	<lastBuildDate>Mon, 20 Apr 2020 19:52:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.32</generator>
	<item>
		<title>How HG 2.0 is coming along</title>
		<link>http://www.metaverseink.com/blog/hypergrid/how-hg-2-0-is-coming-along/</link>
		<comments>http://www.metaverseink.com/blog/hypergrid/how-hg-2-0-is-coming-along/#comments</comments>
		<pubDate>Sun, 23 Sep 2012 02:29:18 +0000</pubDate>
		<dc:creator><![CDATA[Diva Canto]]></dc:creator>
				<category><![CDATA[Hypergrid]]></category>
		<category><![CDATA[OpenSim]]></category>
		<category><![CDATA[hg 2.0]]></category>
		<category><![CDATA[hypergrid]]></category>

		<guid isPermaLink="false">http://metaverseink.com/blog/?p=459</guid>
		<description><![CDATA[&#160; &#160; It&#8217;s been a while since I last posted about HG 2, but it&#8217;s finally coming to life! HG 2 is all about letting grid operators define policies for access control to their grid&#8217;s assets and users. I thought I&#8217;d show how it is taking shape, so that you&#8217;ll be ready for it in [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="http://metaverseink.com/blog/wp-content/uploads/2012/04/20.jpg"><img class="alignleft size-full wp-image-318" title="20" src="http://metaverseink.com/blog/wp-content/uploads/2012/04/20.jpg" alt="" width="200" height="130" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>It&#8217;s been a while since I <a href="http://metaverseink.com/blog/?p=299">last posted about HG 2</a>, but it&#8217;s finally coming to life! HG 2 is all about letting grid operators define policies for access control to their grid&#8217;s assets and users. I thought I&#8217;d show how it is taking shape, so that you&#8217;ll be ready for it in the next OpenSim release.</p>
<p><span id="more-459"></span><br />
<script type="text/javascript">// <![CDATA[
google_ad_client = "ca-pub-3704733000938614"; /* MI Search blog small leaderboard */ google_ad_slot = "5138341620"; google_ad_width = 468; google_ad_height = 60;
// ]]&gt;</script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[


// ]]&gt;</script></p>
<h2>HG Inventory</h2>
<p><a href="http://metaverseink.com/blog/wp-content/uploads/2012/09/HG2InventoryHome.jpg"><img class="alignleft size-medium wp-image-462" style="border: 3px solid black;" title="HG2 Inventory at Home" src="http://metaverseink.com/blog/wp-content/uploads/2012/09/HG2InventoryHome-300x228.jpg" alt="" width="300" height="228" /></a>Inventory is much more secure than in HG 1.5, and the My Suitcase folder is playing an even more important role in that.</p>
<p>The first difference you will notice is that this folder is now under the root folder &#8212; see picture on the left. In HG 1.5, My Suitcase was at the same level as the root folder. That posed some issues, because the viewers can&#8217;t really handle that. So we had to make up Web applications (like D2 Wifi) to make inventory manipulations between the Suitcase and the other folders. Kind of hacky. That&#8217;s not happening anymore. In HG 2, My Suitcase is inside your normal inventory tree, so you can easily copy items back and forth between that folder and others.</p>
<p>Like in HG 1.5, the My Suitcase folder is special: it is the folder tree that receives objects you collect while you are visiting other grids. But now it is even more special: it is the <strong>only</strong> folder tree that is accessible to you (and therefore to the rest of the Internet) while you are traveling. Period.</p>
<p><a href="http://metaverseink.com/blog/wp-content/uploads/2012/09/HG2Inventory.jpg"><img class="alignleft size-medium wp-image-466" style="border: 2px solid black;" title="HG2 Inventory Abroad" src="http://metaverseink.com/blog/wp-content/uploads/2012/09/HG2Inventory-300x228.jpg" alt="" width="300" height="228" /></a>Look at how your inventory will look like in HG 2 when you are outside your home world &#8212; see picture on the left. As the picture shows, all your folders except My Suitcase are shown as (Unavailable). You can still see them, and unfold them. You may even be able to access items that are already cached in your viewer&#8217;s cache (textures, notecards, etc.). But if you try to access any items outside My Suitcase that aren&#8217;t cached in your viewer while you are outside your home world, the operation will fail. For example, rezzing objects from those folders will fail.</p>
<p>Items inside My Suitcase, however, will be available. My Suitcase will also be the tree where all the items collected while traveling  will go. Once you are back home you can then move them into other folders.</p>
<p>In short: the Suitcase is now really the only thing you&#8217;ll have available while traveling (but keep on reading for some exceptions). That means that it is also only the only thing that is available for rogue grids to mess with. Treat it as your own real-world suitcase: it may be stolen or badly damaged. But the rest of your belongings are safe in your home world.</p>
<p>[UPDATE 9/23] I should be more clear. The existing HG1.5 inventory service, which lets users still access their entire inventory abroad, will still be available in the future. Grids can continue to use that. They can even use the normal inventory service (HG1.0 style) on the Hypergrid, which has no restrictions whatsoever about inventory manipulation. Both of these, however, especially the normal inventory service, are horribly insecure and expose users to all sorts of risks regarding their inventory. Unless the networked grids have 100% trust in each other, I don&#8217;t recommend using them.</p>
<h2>Appearance</h2>
<p>Appearance in SL/OpenSim is a very tricky thing. Your appearance as an avatar consists of two things: wearables (shape, clothes, etc.) and attachments (prim hair, etc.), which can be arbitrarily complex objects with textures, scripts, etc. Additionally, the viewer &#8220;bakes&#8221; all the wearables into a set of textures, and those are the ones that are actually passed around between your viewer and the viewers of all other people around you. To make things even more complicated, the attachments have a nasty dependency with your inventory &#8212; they are objects that must be somewhere in your inventory, and the viewer must know about them being attached to you.</p>
<p>Why am I telling this? So that you understand some of the challenges regarding inventory access and asset access control related to your appearance.</p>
<p>Your appearance&#8217;s assets will be copied to the worlds that you are visiting, <strong>even if the items that you are wearing are not in the Suitcase folder</strong>. If we didn&#8217;t do that, you&#8217;d always have to switch into an appearance whose items would be in your Suitcase, and that would be a pain. So, your appearance items (your clothes, body parts and attachments) are the only exceptions to the rule &#8220;the only items available outside are items under the My Suitcase folder.&#8221;  They are copied, and, as such, assume that they will be publicly available.</p>
<p>But this is not good enough for some grids. Suppose you are a user of a commercial grid wearing a very expensive avatar. That grid may not want any of its assets to be exported to other grids, including the avatar that you are wearing &#8212; that refusal of service can now be done (read on). But if you arrive at the destination without any wearables and attachments, you will be seen there as Ruth, even if you see yourself wearing the same expensive avatar because it is cached in your viewer as you travel. Projecting a Ruth image to others is not something we consider a good user experience, so we had to fix this somehow.</p>
<p><a href="http://metaverseink.com/blog/wp-content/uploads/2012/09/NoGoAppearance.jpg"><img class="alignleft size-medium wp-image-472" style="border: 2px solid black;" title="No Go Appearance" src="http://metaverseink.com/blog/wp-content/uploads/2012/09/NoGoAppearance-300x218.jpg" alt="" width="300" height="218" /></a>There is a configuration variable that grids can set regarding the use of &#8220;allowed appearances for Hypergriding.&#8221; That is, grids can create one or more appearances with assets that they don&#8217;t mind being publicly shared, and then force their users to wear one of those appearances before hypergriding out. The picture on the left shows the warning message when a user is wearing something that is not part of the allowed HG appearance assets, in this case, it was the sphere attachment.</p>
<p>Unfortunately, due the lack of appropriate viewer features, the appearance switch has to be done explicitly by the user, it can&#8217;t be done automatically. So if the user gets this warning message when she&#8217;s trying to HG TP, she needs to replace her outfit with one of the official ones. In the case in the picture, it&#8217;s a folder called HGOutfit.</p>
<h2> Assets Access Control</h2>
<p>The access to a grid&#8217;s assets in the Hypergrid is done via a service called the HG Asset Service. Grid owners can now configure that service by specifying policies for exporting their grid&#8217;s assets to the outside world. For example, they can say that it&#8217;s ok for others to access textures and sounds but not scripts or meshes, or any other combination &#8212; the policy specification language takes the entire set of asset types. Grid owners can also specify which kinds of assets the grid can import from other grids.</p>
<p>The specification is done under the section [HGAssetService], something like this:</p>
<pre>[HGAssetService]
    HomeURI = "http://127.0.0.1:9000"
    ;; The asset types that will never be exported
    DisallowExport ="LSLText, LSLBytecode"
    ;; The asset types that will never be imported
    DisallowImport ="LSLBytecode"</pre>
<p>When these policies are specified, those types of assets will never be imported/exported, no matter what users and the rest of the world may do.</p>
<p>Going one step deeper into content protection, commercial grids with protected content may want to physically separate their internal asset server from their HG asset server, i.e. they can operate over completely different databases. Their internal asset server can continue to be behind the firewall. With the Robust architecture, this has been possible for a while. But now it is possible to make that physical separation meaningfully regarding the user&#8217;s Suitcase folder. When that separation is in place, the assets for the Suitcase items will be stored in the HG asset server database, and users cannot copy items back and forth between the Suitcase and the other folders. The items in the Suitcase folder will be  unavailable in the users&#8217; home world, and become available only when the user is traveling. This may be a desired feature, as commercial grids may not like the import of freebies from the outside. This requires some advanced configuration, but that&#8217;s the kind of security barriers that need to be in place for commercial grids to start experimenting with the HG.</p>
<p>For the time being, asset access control is done in bulk, based on asset types, and specified by the grid <em>operator</em>. There is no fine-grain asset access control [yet]. What this means is that grid <em>users</em> cannot express their own policies regarding their own objects, they are at the mercy of the grid operator. Bringing that specification up to the users will require some User Interface work (possibly on the viewers) that isn&#8217;t done yet. We&#8217;ll leave that for HG 2.5.</p>
<h2>Users Access Control</h2>
<p>In an HG Teleport, there are always two independent authorities involved: the home world of the user and the destination world. These can now be configured, also independently, regarding HG travels. It is now possible to control who goes where. This is the basis for the emergence of HG sub-networks &#8212; groups of grids connected to each other, but not to everyone, via the HG.</p>
<h3>Incoming HG visitors</h3>
<p><a href="http://metaverseink.com/blog/wp-content/uploads/2012/09/AccessControlGatekeeper.jpg"><img class="alignleft size-medium wp-image-484" title="Access Control Gatekeeper" src="http://metaverseink.com/blog/wp-content/uploads/2012/09/AccessControlGatekeeper-300x203.jpg" alt="" width="300" height="203" /></a>The control of which kinds of users can visit our world is done in a service called the Gatekeeper. It is now possible to specify whether the grid accepts foreign users or not, and, if it does, from which domains those users should be. When a user tries to HG TP to a grid in which she is not allowed, she gets a message like the one seen on the picture on the left &#8220;Destination does not allow users from your world.&#8221;</p>
<p>The configuration looks like this:</p>
<pre>[GatekeeperService]
...
  ; ForeignAgentsAllowed = true
  ;;</pre>
<pre>  ;; If ForeignAgentsAllowed is true, make exceptions using AllowExcept.
  ;; Leave blank or commented for no exceptions.
  AllowExcept = "http://griefer.com:8002, http://enemy.com:8002"
  ;;
  ;; If ForeignAgentsAllowed is false, make exceptions using DisallowExcept
  ;; Leave blank or commented for no exceptions.
  ; DisallowExcept = "http://myfriendgrid.com:8002, http://myboss.com:8002"</pre>
<p>The fine-grain control of specific users can continue to be done with ban lists and other mechanisms that already exist. The kind of control we added in HG 2.0 is domain-based, so all users from those domains will / will not be allowed in. That is what allows the emergence of HG sub-networks.</p>
<h3>Outgoing local users</h3>
<p><a href="http://metaverseink.com/blog/wp-content/uploads/2012/09/AccessControlUAS.jpg"><img class="alignleft size-medium wp-image-486" title="Access Control UAS" src="http://metaverseink.com/blog/wp-content/uploads/2012/09/AccessControlUAS-300x203.jpg" alt="" width="300" height="203" /></a>Conversely, the home world of users also has a say about where the users can and cannot go. That is done in a service called User Agents. When a user tries to HG TP to a grid which her home world doesn&#8217;t want her to go, she gets a message like the one seen on the picture on the left &#8220;Your world does not allow you to visit the destination.&#8221;</p>
<p>On this side of things, the policy specifications are based on the user-level. That is, users at different levels may be subjected to different restrictions.</p>
<p>The configuration looks like this:</p>
<pre>[UserAgentService]
...</pre>
<pre>;; Are local users allowed to visit other grids?</pre>
<pre>;; What user level? Use variables of this forrm:
 ;; ForeignTripsAllowed_Level_&lt;UserLevel&gt; = true | false
 ;; For example:
 ForeignTripsAllowed_Level_0 = false
 ForeignTripsAllowed_Level_10 = true ; true is default
 ;;
 ;; If ForeignTripsAllowed is true, make exceptions using AllowExcept.
 ;; Leave blank or commented for no exceptions.
 AllowExcept_Level_10 = "http://griefer.com:8002, http://enemy.com:8002"
 ;;
 ;; If ForeignTripsAllowed is false, make exceptions using DisallowExcept
 ;; Leave blank or commented for no exceptions.
 DisallowExcept_Level_0 = "http://myfriendgrid.com:8002, http://myboss.com:8002"</pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.metaverseink.com/blog/hypergrid/how-hg-2-0-is-coming-along/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
