<?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>ownCloud &#8211; Roumazeilles.net</title>
	<atom:link href="https://www.roumazeilles.net/news/en/wordpress/tag/owncloud/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.roumazeilles.net/news/en/wordpress</link>
	<description>Technology opinions and others</description>
	<lastBuildDate>Mon, 27 Nov 2017 21:57:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>ownCloud &#8211; Use of trusted_domains</title>
		<link>https://www.roumazeilles.net/news/en/wordpress/2017/11/27/owncloud-use-of-trusted_domains/</link>
					<comments>https://www.roumazeilles.net/news/en/wordpress/2017/11/27/owncloud-use-of-trusted_domains/#respond</comments>
		
		<dc:creator><![CDATA[Yves Roumazeilles]]></dc:creator>
		<pubDate>Mon, 27 Nov 2017 17:12:21 +0000</pubDate>
				<category><![CDATA[Create a web site]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[ownCloud]]></category>
		<guid isPermaLink="false">https://www.roumazeilles.net/news/en/wordpress/?p=14377</guid>

					<description><![CDATA[It took me several days (OK, I&#8217;m not very bright but I&#8217;m not working full-time on this project either) hesitating in front of an installation/configuration parameter of ownCloud, the file sharing solution that I am currently deploying for a personal project. I had noticed the &#8220;trusted_domains&#8221; configuration parameter; I had also noticed that it was [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>It took me several days (OK, I&#8217;m not very bright but I&#8217;m not working full-time on this project either) hesitating in front of an installation/configuration parameter of <a href="http://www.ownlcoud.org/">ownCloud</a>, the file sharing solution that I am currently deploying for a personal project.</p>
<p>I had noticed the &#8220;trusted_domains&#8221; configuration parameter; I had also noticed that it was apparently linked to failed attempts from a different location (different of my usual personal computer). But I did not understand it well.</p>
<p>As a matter of fact, a very clearly written post from Lukas Reschke, <a href="https://statuscode.ch/2015/02/a-tale-about-trusted_domains/">A tale about trusted_domains</a> has been the source of my enlightenment.</p>
<p><img fetchpriority="high" decoding="async" src="https://www.roumazeilles.net/news/fr/wordpress/wp-content/uploads/2017/11/owncloud-ipad-iphone.png" alt="ownCloud iPad iPhone" width="295" height="302" class="alignright size-full wp-image-9369" />The default installation of ownCloud had easily allowed me identify that <code>www.mydomain.com</code> in the list of trusted domains (of domains used to publish the cloud information). I thought that my difficulty was coming from trying out of <code>mydomain.com</code> (as if I was on the server), but my <code>trusted_domains</code> list needed to simultaneously contain <code>www.mydomain.com</code> and <code>mydomain.com</code>.</p>
<p>This was rather silly, but I did not think more about it: I was not typing the same address depending on where I was connecting (by luck, or rather lack of luck) and I started to believe that the location was important (and it was not really).</p>
<p>So, I replaced</p>
<pre>'trusted_domains' =>
array (
0 => 'www.mydomain.com',
),</pre>
<p>with </p>
<pre>'trusted_domains' =>
array (
0 => 'www.mydomain.com',
1 => 'mydomain.com',
),</pre>
<p>Done!</p>
<p>The advantage of using this connection parameter was to avoid a security risk (well explained in the above post) and to allow different addresses to be used to access the same cloud server. For example, when users on the internal company network are using a different address (access through <code>internalcloud.local</code>) than those outside (access through <code>mydomain.com</code>). In this case, we would use configuration parameters like:</p>
<pre>'trusted_domains' =>
array (
0 => 'www.mydomain.com',
1 => 'mydomain.com',
2 => 'internalcloud.local',
),</pre>
<p>Good! One problem solved.</p>
<p>After that, it&#8217;s clear that <a href="http://www.ownlcoud.org/">ownCloud</a> is a very good product to replace DropBox with a tool more personalized and more secure (at least, it is not hosted in an unknown place like DropBox).</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.roumazeilles.net/news/en/wordpress/2017/11/27/owncloud-use-of-trusted_domains/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
