Greeeeaaaat, works like a charm.

> At the moment I've made it so that authentication is required both for 
read and write access to the wiki, but I guess we could make it so that 
there's 
> anonymous read-only access, with credentials required for modifications.

Could we have an option so that read-only access can also be prohibited 
(like it is now)?

regards
 Michael



Am Donnerstag, 28. November 2013 15:06:22 UTC+1 schrieb Jeremy Ruston:
>
> I've just added very primitive support for basic authentication to the 
> alpha.16 release which will be out in a day or two:
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/7d12d89a0afda3ff5383b4c64e7408485dd959bc
>
> You'll be able to add a password parameter to the `serve.sh` script, which 
> causes the user to be prompted for a username/password when they first 
> visit the site.
>
> At the moment I've made it so that authentication is required both for 
> read and write access to the wiki, but I guess we could make it so that 
> there's anonymous read-only access, with credentials required for 
> modifications.
>
> Best wishes
>
> Jeremy
>
>
>
> On Wed, Nov 27, 2013 at 6:21 PM, Michael Herrmann 
> <[email protected]<javascript:>
> > wrote:
>
>> Ah, I understand. Thanks Javid and Jeremy. Yes, indeed, the motivation 
>> was that I wanted to serve TW5 on my home server. I will patiently wait for 
>> below mentioned implementation ;-) 
>>
>> regards
>>  Michael
>>
>>
>> Am Mittwoch, 27. November 2013 18:38:31 UTC+1 schrieb Jeremy Ruston:
>>>
>>> Hi Michael
>>>
>>> Thanks for the kind words about TW, I'm glad you're finding it useful.
>>>
>>> As Javid notes, the encryption features are designed for the single file 
>>> edition of TW5.
>>>
>>> It's not clear what role encryption could play with the client-server 
>>> edition. Even highly secure sites (eg for banking) do not encrypt content 
>>> within the files held by the server, but rather rely on SSL encryption to 
>>> encrypt the data in-flight.
>>>
>>> Is your motivation that you'd like to run a TW5 node.js server with 
>>> password access? If so, the conventional approach would be to add 
>>> authentication and authorisation to the HTTP interface, rather than 
>>> encrypting the content. Until that's implemented you may be best off using 
>>> the Python-based TiddlyWeb/TiddlySpace as a server, which has a full and 
>>> robust authentication and authorisation.
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>
>>>
>>>
>>>
>>> On Wed, Nov 27, 2013 at 10:40 AM, Javid Lakha <[email protected]>wrote:
>>>
>>>> Encryption isn't supported in node, unfortunately.
>>>>
>>>>
>>>> On Tuesday, 26 November 2013 21:50:34 UTC, Michael Herrmann wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> at first I entered a password for encryption in a TW5 that is served 
>>>>> via serve.sh.
>>>>>
>>>>> I then reloaded it and was asked for that password. But entering it 
>>>>> does not reveal the TW, but I am asked again. Node's console output reads:
>>>>>
>>>>>           "Crypto error:TypeError: Cannot read property 'length' of 
>>>>> null".
>>>>>
>>>>> Killing and restarting node enables TW again without password.
>>>>>
>>>>>
>>>>> Since this is my first post on TW I would like to say that TWC and TW5 
>>>>> are really amazing to me. I use TWC for a couple of years, privately and 
>>>>> in 
>>>>> my daily work. And now I am trying to dive into TW5.
>>>>>
>>>>> Michael
>>>>>
>>>>>  -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "TiddlyWikiDev" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>>
>>>> Visit this group at http://groups.google.com/group/tiddlywikidev.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Jeremy Ruston
>>> mailto:[email protected]
>>>  
>>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to