<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>https://www.binefa.com/index.php?action=history&amp;feed=atom&amp;title=Autenticaci%C3%B3_d%27acc%C3%A9s_a_NodeRED</id>
	<title>Autenticació d'accés a NodeRED - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="https://www.binefa.com/index.php?action=history&amp;feed=atom&amp;title=Autenticaci%C3%B3_d%27acc%C3%A9s_a_NodeRED"/>
	<link rel="alternate" type="text/html" href="https://www.binefa.com/index.php?title=Autenticaci%C3%B3_d%27acc%C3%A9s_a_NodeRED&amp;action=history"/>
	<updated>2026-04-09T10:08:25Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.binefa.com/index.php?title=Autenticaci%C3%B3_d%27acc%C3%A9s_a_NodeRED&amp;diff=11600&amp;oldid=prev</id>
		<title>Jordi Binefa a 15:13, 23 gen 2026</title>
		<link rel="alternate" type="text/html" href="https://www.binefa.com/index.php?title=Autenticaci%C3%B3_d%27acc%C3%A9s_a_NodeRED&amp;diff=11600&amp;oldid=prev"/>
		<updated>2026-01-23T15:13:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ca&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Versió més antiga&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revisió del 15:13, 23 gen 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot; &gt;Línia 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línia 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Generació de la contrasenya d'accés en mode hash des de la carpeta d'execució del NodeRED:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Generació de la contrasenya d'accés en mode hash des de la carpeta d'execució del NodeRED:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  node node_modules/node-red/red.js admin hash-pw&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  node node_modules/node-red/red.js admin hash-pw&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A Windows:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; node-red admin hash-pw&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;En aquest exemple fem servir aquesta contrasenya en mode hash:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;En aquest exemple fem servir aquesta contrasenya en mode hash:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki_binefa_com:diff::1.12:old-7601:rev-11600 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jordi Binefa</name></author>
		
	</entry>
	<entry>
		<id>https://www.binefa.com/index.php?title=Autenticaci%C3%B3_d%27acc%C3%A9s_a_NodeRED&amp;diff=7601&amp;oldid=prev</id>
		<title>Jordi Binefa: Es crea la pàgina amb «[https://nodered.org/docs/user-guide/runtime/securing-node-red Securing NodeRED]  Generació de la contrasenya d'accés en mode hash des de la carpeta d'execució del...».</title>
		<link rel="alternate" type="text/html" href="https://www.binefa.com/index.php?title=Autenticaci%C3%B3_d%27acc%C3%A9s_a_NodeRED&amp;diff=7601&amp;oldid=prev"/>
		<updated>2023-11-22T14:50:43Z</updated>

		<summary type="html">&lt;p&gt;Es crea la pàgina amb «[https://nodered.org/docs/user-guide/runtime/securing-node-red Securing NodeRED]  Generació de la contrasenya d&amp;#039;accés en mode hash des de la carpeta d&amp;#039;execució del...».&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[https://nodered.org/docs/user-guide/runtime/securing-node-red Securing NodeRED]&lt;br /&gt;
&lt;br /&gt;
Generació de la contrasenya d'accés en mode hash des de la carpeta d'execució del NodeRED:&lt;br /&gt;
 node node_modules/node-red/red.js admin hash-pw&lt;br /&gt;
&lt;br /&gt;
En aquest exemple fem servir aquesta contrasenya en mode hash:&lt;br /&gt;
 '''$2a$08$PbYFpiQSnoVaOfD1daCelU2Kvcg19KElO1DbVtE8GAJXacD6ABq'''&lt;br /&gt;
&lt;br /&gt;
Edició de '''settings.js''':&lt;br /&gt;
 toni@vps-10d8edcd:~/bin/nodered$ nano ./node_modules/node-red/settings.js&lt;br /&gt;
&lt;br /&gt;
    // Securing Node-RED&lt;br /&gt;
    // -----------------&lt;br /&gt;
    // To password protect the Node-RED editor and admin API, the following&lt;br /&gt;
    // property can be used. See http://nodered.org/docs/security.html for details.&lt;br /&gt;
    adminAuth: {&lt;br /&gt;
        type: &amp;quot;credentials&amp;quot;,&lt;br /&gt;
        users: [{&lt;br /&gt;
            username: &amp;quot;'''toni'''&amp;quot;,&lt;br /&gt;
            password: &amp;quot;'''$2a$08$PbYFpiQSnoVaOfD1daCelU2Kvcg19KElO1DbVtE8GAJXacD6ABq'''&amp;quot;,&lt;br /&gt;
            permissions: &amp;quot;*&amp;quot;&lt;br /&gt;
        }]&lt;br /&gt;
    },&lt;br /&gt;
&lt;br /&gt;
Un cop fets el canvis '''cal reiniciar el NodeRED'''.&lt;/div&gt;</summary>
		<author><name>Jordi Binefa</name></author>
		
	</entry>
</feed>