vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Remote Logins (https://vborg.vbsupport.ru/showthread.php?t=202332)

kwblue 01-19-2009 11:14 AM

Remote Logins
 
What is the best way to do remote logins thru vBulletin?

The idea is this: I have several products that will fit my industry. These products will be of use to several forums as well (all running vBulletin). The products would work like this:

Forum 1: A user is logged into Forum1. They click a button/link and my product pops up from my domain. My product verifies their login on THEIR forum, grabs their userid number, and when the 'do stuff', it runs an audit trail with information like (ForumIdentifier = Forum1, UserIdentifier = userid).

The reason it does this is so that we can ensure that the users of the product are forum members of specific forums.

I hope this makes sense :)

Marco van Herwaarden 01-19-2009 11:33 AM

Doubt it can be done. Internet protocol does not allow sharing of cookies etc. across domains for security reasons.

Dismounted 01-19-2009 11:36 AM

In the link, you could supply a userid and session hash, and create a script for Forum1 which verifies this hash in the DB and returns yes/no.

Edit: Actually, it would be better to create your own hash algorithm, as the session hash could possibly be misused.

kwblue 01-19-2009 12:14 PM

Interesting idea, Dismounted.

Originally I had thought to use the soap api that was on this forum. Is that a bad way to go with this? Is there any other vBulletin API that would allow this sort of thing?


All times are GMT. The time now is 08:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01013 seconds
  • Memory Usage 1,707KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete