Moderator: moderators
daneren2005 wrote:Nah, any sane implementation would only ask about the certificate either 0 or 1 times. The first time it's loaded you would save the certificate, then after that only throw a warning message if the certificate is different. And if it does change, the user most definitely needs to be alarmed about it.
PS This has been on my todo list for a while for DSub, but it is unreasonably difficult on Android
philip550c wrote:daneren2005 wrote:Nah, any sane implementation would only ask about the certificate either 0 or 1 times. The first time it's loaded you would save the certificate, then after that only throw a warning message if the certificate is different. And if it does change, the user most definitely needs to be alarmed about it.
PS This has been on my todo list for a while for DSub, but it is unreasonably difficult on Android
Well 0 times would defeat the OP request and while I agree that asking once wouldnt be a problem to me, I have users ask me all the time why theres an "error" on my subsonic page and my other self hosted services and "am I sure that they wont get a virus?". You are a dev and it wouldnt cross your mind but for the average person its a big red flag, they already think just entering in the url, username and password is difficult.
Do the subsonic and dsub apps not use ssl? I always assumed they were just accepting the certificate automatically? Is this not the case?
PS: I will be buying the dsub app as soon as you are done implementing the chat tab. Thanks so much, I have wanted that for a long time.
daneren2005 wrote:philip550c wrote:daneren2005 wrote:Nah, any sane implementation would only ask about the certificate either 0 or 1 times. The first time it's loaded you would save the certificate, then after that only throw a warning message if the certificate is different. And if it does change, the user most definitely needs to be alarmed about it.
PS This has been on my todo list for a while for DSub, but it is unreasonably difficult on Android
Well 0 times would defeat the OP request and while I agree that asking once wouldnt be a problem to me, I have users ask me all the time why theres an "error" on my subsonic page and my other self hosted services and "am I sure that they wont get a virus?". You are a dev and it wouldnt cross your mind but for the average person its a big red flag, they already think just entering in the url, username and password is difficult.
Do the subsonic and dsub apps not use ssl? I always assumed they were just accepting the certificate automatically? Is this not the case?
PS: I will be buying the dsub app as soon as you are done implementing the chat tab. Thanks so much, I have wanted that for a long time.
I definitely understand that it's a red flag for normal users. Hell, it's a red flag for me. There is something about that error page that just makes it feel like pressing ok is wrong. But that doesn't really matter for the app side, because yes they are just accepting certificates automatically right now. When I stop accepting all certificates, I would be saving it so the user would only be asked once. Let me explain the 0 or 1 comment a little more. I would actually lean more towards the 0 side simply because it really doesn't matter what message I pop up the first time. If the user thinks they are connecting to the correct server, they will just accept it. This is what is going to happen the first time, so in a lot of ways there really is no point in even asking. And like you said, asking the first time will just confuse most people unnecessarily, just like it does when the browser throws those messages. Where the security part jumps in is IF there already exists a saved certificate for the site, and it doesn't match the one the app gets. THEN is when you want to ask the user, because it should definitely be sending a red flag. Either the admin has changed the certificate and you just click through and have it be changed, or he hasn't and that is how you know you are being attacked by a MitM attack.
philip550c wrote:that would be really annoying and most people would find the app to be a pain to use and they would just think that what they are doing is dangerous
daneren2005 wrote:But that doesn't really matter for the app side, because yes they are just accepting certificates automatically right now. When I stop accepting all certificates, I would be saving it so the user would only be asked once. Let me explain the 0 or 1 comment a little more. I would actually lean more towards the 0 side simply because it really doesn't matter what message I pop up the first time. If the user thinks they are connecting to the correct server, they will just accept it. This is what is going to happen the first time, so in a lot of ways there really is no point in even asking. And like you said, asking the first time will just confuse most people unnecessarily, just like it does when the browser throws those messages. Where the security part jumps in is IF there already exists a saved certificate for the site, and it doesn't match the one the app gets. THEN is when you want to ask the user, because it should definitely be sending a red flag. Either the admin has changed the certificate and you just click through and have it be changed, or he hasn't and that is how you know you are being attacked by a MitM attack.
pschroeder wrote:philip550c wrote:that would be really annoying and most people would find the app to be a pain to use and they would just think that what they are doing is dangerous
Well, frankly it is. Either they know what is going on and can handle it (in which case they can decide whether it's dangerous or not without getting a panick attack) or they do not and than they should stay the hell away from it. And shame on everybody who forces them to use an unsigned certificate without sitting them down and explaining in length how SSL and certificates work and what this error message means. In some areas, where self-signed certificates are used by friends, colleagues or even internally in some institutions and companies, people get conditioned to just ignore these warnings and accept it every single time. So what happens when they go to their bank's website and get greeted with the same warning? They just accept it and move on to enter their login credentials. Is that the goal?
Now saying that just ignoring this situation in the app is much better, as now nobody has any control anyway, is just as bad. Basically subsonic provides access to YOUR data to the world. Don't you agree that this must be protected? Aside that anybody could see all your media if they have your password, it's also likely that your account is the admin and they can add your other files to the interface. And it also opens up access to subsonic itself, making bugs exploitable globally. If an app KNOWS that the certificate may not be valid, it is a good (and ideally legally required, if you ask me) idea to ask the user to verify it.
Users browsing this forum: No registered users and 27 guests