Ask HN: What do you think of my group chat app?(yamr.net)
yamr.net
Ask HN: What do you think of my group chat app?
http://yamr.net/
28 comments
The "user" cookie contains a base64'd username, the JSON responses include an echoed User-Agent, and I can rotate the "roomids" parameter to retrieve message logs from arbitrary rooms. Does security matter for this app?
Sorry, it's not really meant to be a secure chat.
It's catered to people who don't want to signup or install anything. Who just want to go to a link and start chatting.
store a random session id and store all the room data and all that shite on the server somewhere, not in a cookie. Also, use a random string of characters instead of a number for the room ids. That should take care of most of the problems that tptacek mentioned
Sometimes storing session data serverside is clunky, particularly when you have multiple servers; a classic, reasonable approach in that case is to MAC the contents of the cookie with a 256-bit random key, and then AES-CBC encrypt the cookie with that same key. But I agree, for this app, there's no reason there should be structured data in a cookie.
As for the room IDs --- randomizing them is a fine bit of rubber-chicken security. I think it's a good idea. But the right solution is to allow users to erase the chat logs, and to verify that users have access to a given room before dumping all messages starting at message ID 0.
As for the room IDs --- randomizing them is a fine bit of rubber-chicken security. I think it's a good idea. But the right solution is to allow users to erase the chat logs, and to verify that users have access to a given room before dumping all messages starting at message ID 0.
You should consider the ability to embed this as part of a website.
I think that if this is intended to be anything more than a toy project, you should change the name (http://www.yammer.com). Otherwise, nice job.
Great stuff
- I love the signup "process" :)
- I like the /anychatroom feature
- I like the persistant nature of the chats
- It's interface is amazingly simple/quirky - I love it
- personally i don't care about security, as long as this is intended for OPEN chats and chatrooms (twitter-esque) .. not some private closed sessions between you and your secret lover...
cons
- manvsmachine is right about the domain name.. could confuse some users
Idea
- i don't know how long backwards you have the conversations open .. that is.. can I scroll back and check what John was saying a few months ago? If so: excellent! Then a permalink as in http://yamr.net/chatroom#388332 as an url to every single line of chat would be totally awesome
Good luck with this project!! I think it rocks
- I love the signup "process" :)
- I like the /anychatroom feature
- I like the persistant nature of the chats
- It's interface is amazingly simple/quirky - I love it
- personally i don't care about security, as long as this is intended for OPEN chats and chatrooms (twitter-esque) .. not some private closed sessions between you and your secret lover...
cons
- manvsmachine is right about the domain name.. could confuse some users
Idea
- i don't know how long backwards you have the conversations open .. that is.. can I scroll back and check what John was saying a few months ago? If so: excellent! Then a permalink as in http://yamr.net/chatroom#388332 as an url to every single line of chat would be totally awesome
Good luck with this project!! I think it rocks
- one extra downside: 10 second refresh-rate in a live conversation is very long... I'd try to go down to at least 4-5 seconds (maybe at least for registered users)
I like both ideas of perm-linking to a specific post and bringing the refresh rate down for registered users. I'll see what I can do :)
paging axod to this thread. Am sure there is some form of collaboration possible for web chat stuff.
few thoughts:
great signup form
the uploader squashed my non-square picture to a square :(
Privacy Policy. Especially if you're dealing with uploads and chat logs.
few thoughts:
great signup form
the uploader squashed my non-square picture to a square :(
Privacy Policy. Especially if you're dealing with uploads and chat logs.
Nice and lightweight, but useless (to me) if not secure. The latency is also quite bad at the moment (10 seconds or so between me writing "ping" and seeing "ack" from someone else in the room), but maybe that's due to heavy load right now?
Looks like a good start :)
Wonder how you're planning to get users...
I got them by leveraging IRC, Campfire got them by having a popular blog to sell to.
I got them by leveraging IRC, Campfire got them by having a popular blog to sell to.
Nobody in my company (there's quite a few of us) gives a shit about the SvN blog; we use Campfire because it works, it's private, it has strong access control, great searchable transcripts, and file upload/download.
I've ragged on 37s here before, and I don't like being put in the position of sticking up for them, but I really think this meme about how 37s sells everything because of their "popular blog" is getting stale. Obviously, the blog helps them, but it doesn't hurt that they know what they're doing.
I've ragged on 37s here before, and I don't like being put in the position of sticking up for them, but I really think this meme about how 37s sells everything because of their "popular blog" is getting stale. Obviously, the blog helps them, but it doesn't hurt that they know what they're doing.
OK, But in that case how did you find out about campfire? If it wasn't for their blog posts making it here and Reddit, I probably would never found it.
Very cool! I think you could have a free service with an up-sell (more than 2 people, private rooms, etc) that made sense. Depending on how much it costs for you to run the free site, I guess.
Is there a blog or somewhere to follow development?
Is there a blog or somewhere to follow development?
No blog currently, just the front page for updates
I like the simplicity. Good job. Keep up the good work.
One killer feature from Campfire that I would request is that when pasting an image URL, the image gets inlined into the chat.
The only problem with this, is because the chat rooms are pretty open, porn can be posted, making the site not safe for work.
Moreover lets not forget XSS as well. Need to be careful.
Think if you're going to post an image URL, server will need to do some validation that its an actual image and then spit it inline
Think if you're going to post an image URL, server will need to do some validation that its an actual image and then spit it inline
Not a bad little app, really. Nice job.
Users need to be able to set a handle.
[deleted]
how do i hack a myspace account