<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Simple auth (e.g. htaccess) for apps without authentication]]></title><description><![CDATA[<p dir="auto">Is it possible (or already doable) to add a simple auth option for all apps that don't have a built-in authentification?</p>
<p dir="auto">I'm thinking of SearxNG, Invidious, etc. where I don't want them completely in the open to (ab)use for everyone.</p>
<p dir="auto">Maybe just a simple <code>.htaccess</code> would be enough, so that you had a <a href="https://user:password@search.domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">https://user:password@search.domain.com</a>? Or is there a better method?</p>
]]></description><link>https://forum.cloudron.io/topic/10551/simple-auth-e-g-htaccess-for-apps-without-authentication</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Nov 2026 06:59:18 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/10551.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Nov 2023 15:05:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Simple auth (e.g. htaccess) for apps without authentication on Thu, 30 Nov 2023 17:12:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/necrevistonnezr" aria-label="Profile: necrevistonnezr">@<bdi>necrevistonnezr</bdi></a> maybe if it's a simple enough app, you can package it along with the Surfer app which can provide the basic auth w/ a nice config interface.</p>
]]></description><link>https://forum.cloudron.io/post/78544</link><guid isPermaLink="true">https://forum.cloudron.io/post/78544</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Thu, 30 Nov 2023 17:12:01 GMT</pubDate></item><item><title><![CDATA[Reply to Simple auth (e.g. htaccess) for apps without authentication on Thu, 30 Nov 2023 13:08:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/necrevistonnezr" aria-label="Profile: necrevistonnezr">@<bdi>necrevistonnezr</bdi></a> if you can raise the request for specific apps, we can discuss why or why not we can do it for the app. maybe that's a good was forward here?</p>
]]></description><link>https://forum.cloudron.io/post/78514</link><guid isPermaLink="true">https://forum.cloudron.io/post/78514</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 30 Nov 2023 13:08:52 GMT</pubDate></item><item><title><![CDATA[Reply to Simple auth (e.g. htaccess) for apps without authentication on Thu, 30 Nov 2023 08:36:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Thanks for the clarification - so it's nothing I can apply as a <em>user</em> after app packaging.<br />
So in general, my feature request still stands <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=b6971addb6c" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/78501</link><guid isPermaLink="true">https://forum.cloudron.io/post/78501</guid><dc:creator><![CDATA[necrevistonnezr]]></dc:creator><pubDate>Thu, 30 Nov 2023 08:36:40 GMT</pubDate></item><item><title><![CDATA[Reply to Simple auth (e.g. htaccess) for apps without authentication on Thu, 30 Nov 2023 07:22:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/necrevistonnezr" aria-label="Profile: necrevistonnezr">@<bdi>necrevistonnezr</bdi></a> your note on things being public was good, I put a note in the App Proxy docs <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=b6971addb6c" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/78497</link><guid isPermaLink="true">https://forum.cloudron.io/post/78497</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 30 Nov 2023 07:22:24 GMT</pubDate></item><item><title><![CDATA[Reply to Simple auth (e.g. htaccess) for apps without authentication on Thu, 30 Nov 2023 07:18:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/necrevistonnezr" aria-label="Profile: necrevistonnezr">@<bdi>necrevistonnezr</bdi></a> I was referring to the proxyAuth addon (<a href="https://docs.cloudron.io/packaging/addons/#proxyauth" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/packaging/addons/#proxyauth</a>) and not the similary named App Proxy .</p>
<p dir="auto">proxyAuth - we add this in an app's package. In this, there is no DNS entry for the app itself. Just for the external facing proxy. I guess quite similar to what you have in mind for <code>.htaccess</code>. For example, apps like haste, tldraw, transmission, firefly etc use this already. You will see an authwall in the front (a login screen) to access the app.</p>
<p dir="auto">With App Proxy, you are correct, <code>app.domain.com</code> will still be open to internet. One has to protect this using a network firewall.</p>
]]></description><link>https://forum.cloudron.io/post/78496</link><guid isPermaLink="true">https://forum.cloudron.io/post/78496</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 30 Nov 2023 07:18:28 GMT</pubDate></item><item><title><![CDATA[Reply to Simple auth (e.g. htaccess) for apps without authentication on Thu, 30 Nov 2023 07:00:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/78458">Simple auth (e.g. htaccess) for apps without authentication</a>:</p>
<blockquote>
<p dir="auto">We have the proxyAuth addon for exactly this . It puts an auth wall in front of apps. Depending on the app, this auth well might break extensions, api calls etc. For this reason, this is not a generic option but something we add in the package considering each app.</p>
</blockquote>
<p dir="auto">Well, if I understand correctly, the App that's being proxied is still "unprotected", correct?</p>
<p dir="auto">If I point <code>proxy.domain.com</code> to <code>app.domain.com</code> or <code>93.###.###.###</code>, then <code>app.domain.com</code> (or the IP) can still be opened without any authentification (if someone knows or finds out the <code>app.domain.com</code> address, which is usually trivial), can't it? And from the <a href="https://docs.cloudron.io/apps/#app-proxy" target="_blank" rel="noopener noreferrer nofollow ugc">docs</a> I understand that I can't point it to an internal, <em>unpublished</em> IP like <code>192.168.1.100:88</code>, correct? (&lt;-- This would be awesome, by the way....)</p>
<p dir="auto">I think that's the main difference for something like the <code>.htaccess</code> approach (which I understand would only work in an Apache setup).</p>
]]></description><link>https://forum.cloudron.io/post/78494</link><guid isPermaLink="true">https://forum.cloudron.io/post/78494</guid><dc:creator><![CDATA[necrevistonnezr]]></dc:creator><pubDate>Thu, 30 Nov 2023 07:00:05 GMT</pubDate></item><item><title><![CDATA[Reply to Simple auth (e.g. htaccess) for apps without authentication on Wed, 29 Nov 2023 15:30:26 GMT]]></title><description><![CDATA[<p dir="auto">The <code>.htaccess</code> only works in Apache btw and thus limited to apps that use apache (mostly php then).</p>
<p dir="auto">Invidious is written in a fancy language (to me anyway) called crystal <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=b6971addb6c" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":-)" alt="🙂" /> I think searx is python.</p>
]]></description><link>https://forum.cloudron.io/post/78459</link><guid isPermaLink="true">https://forum.cloudron.io/post/78459</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 29 Nov 2023 15:30:26 GMT</pubDate></item><item><title><![CDATA[Reply to Simple auth (e.g. htaccess) for apps without authentication on Wed, 29 Nov 2023 15:29:29 GMT]]></title><description><![CDATA[<p dir="auto">We have the proxyAuth addon for exactly this . It puts an auth wall in front of apps. Depending on the app, this auth well might break extensions, api calls etc. For this reason, this is not a generic option but something we add in the package considering each app.</p>
<p dir="auto">Also, it's quite confusing to add auth walls in front of apps that already have a login system. For example, invidivious already has users and login, now we have a totally different auth in front of this. For invidious, private instance feature is being implemented - <a href="https://github.com/iv-org/invidious/pull/4259" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/iv-org/invidious/pull/4259</a></p>
]]></description><link>https://forum.cloudron.io/post/78458</link><guid isPermaLink="true">https://forum.cloudron.io/post/78458</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 29 Nov 2023 15:29:29 GMT</pubDate></item></channel></rss>