Jambooo Posted September 2, 2004 Share Posted September 2, 2004 Well, I have never posted data to another site through a form like that. I'm using the thing right now, and I see how it works. I'm just curious how this method handles an invalid login. What happens? Does it return a false or something? If the login is accepted do you still get to access the returned values? Ok, sorry if I sounded a bit offending there... As for invalid logins, it seems to just return to the neowin stylee login form displaying an error. I'd rather the request returning false to be honest - it would give 3rd party sites more control over how errors are handled. Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584486139 Share on other sites More sharing options...
+chorpeac MVC Posted September 2, 2004 MVC Share Posted September 2, 2004 OK I copied that code you posted into a page, and it doesn't do anything for me. Where do the returned values go? How can you access them? I think I am just confused because I am looking at an example, and it's not complete. Ah...your login.php has the Method="get" right? So you can access them there? lol....it's been so long since I have done regular html form crap. I haven't had to do this in .NET for a long time. Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584486183 Share on other sites More sharing options...
Jambooo Posted September 2, 2004 Share Posted September 2, 2004 The form's action points to and is authorised by Neowin's script... the results are then passed to another script using the specifified URL. Here is a working version: http://blueloose.com/misc/neowin_login.html Edit: the above does not grab your password (check the source) Edit: results are processed by http://www.sietse.nu Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584486235 Share on other sites More sharing options...
+chorpeac MVC Posted September 2, 2004 MVC Share Posted September 2, 2004 Yeah see...I don't think they are going to allow this. Because you would still be able to capture the persons login credentials. When you log in through their method, the security problem is not going to be present since you will be on their server. I don't think this is going to fly. Regardless of whether you collect their password or not... I don't think the admins are going to like this. I was doing something very similar to it, and this is why they are performing this side login script. Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584486256 Share on other sites More sharing options...
Jambooo Posted September 2, 2004 Share Posted September 2, 2004 The login is still validated fully by Neowin's servers (action="https://www.neowin.net/login/?url=http://www.sietse.nu/neowin/"). The only thing different between the two versions is formatting... neo's has all pretty colours and the variation doesn't. Still don't think they'd allow it however :( /heads for the hills Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584486275 Share on other sites More sharing options...
+chorpeac MVC Posted September 2, 2004 MVC Share Posted September 2, 2004 /heads for the hills :happy: Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584486295 Share on other sites More sharing options...
matt74441 Posted September 3, 2004 Share Posted September 3, 2004 If they have the login prompt on Neowin's server, there is no chance of your password being stolen. Thats the only reason I can think of that would keep us from doing this from our sites. Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584487409 Share on other sites More sharing options...
Sietse Veteran Posted September 3, 2004 Veteran Share Posted September 3, 2004 If they have the login prompt on Neowin's server, there is no chance of your password being stolen. Thats the only reason I can think of that would keep us from doing this from our sites. I second that, therefore it's not allowed to use your own login form. Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584488055 Share on other sites More sharing options...
Jambooo Posted September 3, 2004 Share Posted September 3, 2004 Ahh well... nonetheless, I think the neowin's login page should be revised slghtly. Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584488780 Share on other sites More sharing options...
+chorpeac MVC Posted September 3, 2004 MVC Share Posted September 3, 2004 Sietse/Timdorr: Does the Timezone offset that is being returned take into consideration the daylight savings? There is a daylight savings checkbox in the board settings. But for me on the US East coast, it is always -5 in the drop down, and is that what it is always going to return for the timezone offset? Edit: Sidenote, can you tell me what neowin does when it stores dates? Does it store the UTC date and then converts it to the users timezone when it is shown to a user? Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584489852 Share on other sites More sharing options...
Jambooo Posted September 3, 2004 Share Posted September 3, 2004 Stored as a UNIX timestamp I believe: ie: the time now is: 1094217207 Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584489870 Share on other sites More sharing options...
Glowstick Posted September 3, 2004 Share Posted September 3, 2004 How about a SOAP webservice for external projects in application form? :D Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584489885 Share on other sites More sharing options...
+chorpeac MVC Posted September 3, 2004 MVC Share Posted September 3, 2004 How about a SOAP webservice for external projects in application form? :D That sig is hilarious!!! Lime cat... :pinch: :woot: :D :rofl: Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584489906 Share on other sites More sharing options...
+chorpeac MVC Posted September 3, 2004 MVC Share Posted September 3, 2004 OK I don't think the timezone is taking the daylight checkbox into account. I think it is always return what is in the timezone dropdown. Could the timezone portion of this script be changed to take into account this daylight savings setting? Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584489977 Share on other sites More sharing options...
+chorpeac MVC Posted September 5, 2004 MVC Share Posted September 5, 2004 Sorry to bump, but Timdorr or Sietse have any answer to this? Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584503027 Share on other sites More sharing options...
Sietse Veteran Posted September 5, 2004 Veteran Share Posted September 5, 2004 Yes, I have an answer to it.. it indeed doesn't take the timezone into account, think Tim should change that. Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584503073 Share on other sites More sharing options...
+chorpeac MVC Posted September 5, 2004 MVC Share Posted September 5, 2004 Ahhh....whew...thanks for checking on that for me. Oh and do you mean Daylight savings? :) Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584503090 Share on other sites More sharing options...
Sietse Veteran Posted September 5, 2004 Veteran Share Posted September 5, 2004 Ahhh....whew...thanks for checking on that for me. Oh and do you mean Daylight savings? :) I do, sorry, absent typing.. you know it. Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584503271 Share on other sites More sharing options...
+chorpeac MVC Posted September 5, 2004 MVC Share Posted September 5, 2004 I do, sorry, absent typing.. you know it. Yeah, it happens all the time...I mean.... ;) Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584503405 Share on other sites More sharing options...
Tim Dorr Veteran Posted September 5, 2004 Veteran Share Posted September 5, 2004 How about a SOAP webservice for external projects in application form? :D Nope, we implemented it in this form for a reason. No one can have you enter your password and harvest the result for malicious purposes. How do we know that you're not also having your application send the login data to your own server for collection and future abuse? We just cannot give out automated trust. I'm also going to change up the code so Lee's example does *not* work. That's a potential area for abuse, and we cannot allow it. However, there is still some XSS stuff that I'm sure could be abused, so this is far from a completely secure system. Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584504242 Share on other sites More sharing options...
Jambooo Posted September 5, 2004 Share Posted September 5, 2004 Nope, we implemented it in this form for a reason. No one can have you enter your password and harvest the result for malicious purposes. How do we know that you're not also having your application send the login data to your own server for collection and future abuse? We just cannot give out automated trust. I'm also going to change up the code so Lee's example does *not* work. That's a potential area for abuse, and we cannot allow it. However, there is still some XSS stuff that I'm sure could be abused, so this is far from a completely secure system. Sounds good.. soon we'll have .NET Passport type system. Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584504317 Share on other sites More sharing options...
matt74441 Posted September 5, 2004 Share Posted September 5, 2004 I guess the only thing that Lee really wanted was the login form to be dressed up a little. Maybe if you added some information to the form, such as how Neowin sponsored projects use it or such, and explain the security. I don't know, I'm talking out of my ass. Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584504408 Share on other sites More sharing options...
+chorpeac MVC Posted September 6, 2004 MVC Share Posted September 6, 2004 I guess the only thing that Lee really wanted was the login form to be dressed up a little. Maybe if you added some information to the form, such as how Neowin sponsored projects use it or such, and explain the security. I don't know, I'm talking out of my ass. Yeah I could see it being a help for users to know what applications are using the Neowin Side door. Good work Timdorr, let us know what kind of change might be done when you get an idea. Also, when you modify it could you tweak the timezone part to take into consideration the daylight savings time? :) Thanks bro! Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584505246 Share on other sites More sharing options...
[jon] Posted September 6, 2004 Share Posted September 6, 2004 i have some vb code that can verify a users credentials too :) PM me for info... Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584508974 Share on other sites More sharing options...
+chorpeac MVC Posted September 6, 2004 MVC Share Posted September 6, 2004 ,Sep 6 2004, 13:16] i have some vb code that can verify a users credentials too :) PM me for info... I'm unsure how this is relevant to this side door? Where would you use the VB code? Link to comment https://www.neowin.net/forum/topic/211388-neowin-external-login-tool/page/3/#findComment-584511139 Share on other sites More sharing options...
Recommended Posts