Wolfmans Howlings

A programmers Blog about Programming solutions and a few other issues

A Simple Challenge Response authentication scheme for Rails3

Posted by Jim Morris on Mon Nov 29 23:06:41 -0800 2010

UPDATE the following is for pre rails 3.1, there is an addendum at the end for rails 3.1+

I have ported my blog engine (that hosts this site), from Merb to Rails 3. You would expect it to be fairly simple as Rails 3 is meant to be the next version of Merb.

... Show more ...

Posted in Rails  |  Tags authentication,javascript  |  no comments

A TCP socket bridge for Javascript

Posted by Jim Morris on Sat Sep 12 16:07:22 -0700 2009

In the process of rewriting my voice server in Erlang, I decided a new web-based Javascript UI would also be welcome. One problem of course is my voice server requires a TCP connection and a UDP socket for sending voice, not to mention the whole voice capture, playback thing.

In order for this to work the voice and playback would need to be written in a Java Applet, so it made sense to put the whole TCP/UDP communications stuff in there too.

... Show more ...

Posted in Java,Javascript  |  Tags java,javascript,applet  |  no comments