Note that there are some explanatory texts on larger screens.

plurals
  1. POMethods of Securely sending data/ authenticating across domains
    text
    copied!<p>Methods of Securely sending data/ authenticating across domains.</p> <p>Hi guys, I know this sounds like a common question, but i looked all over SoF and could find anything realting to what i want to know.</p> <p>Summery of question (short and simple): I have multiple domains Want to use one domain for authentication to all others I know the theory behind it and how it works I don't know how to do it.</p> <p>Question: - domaina.com = central doamin - domainb.com = secondary domain - domainc.com = secondary domain</p> <p>Part A: Login The user visiting domainb.com should be able to input their login details to the login form, hit login, and that information must securely be sent to domaina.com/login.php. It will then process, validate set a cookie on domaina.com and then resend a validate signal to domainb.com so domainb.com can also set a cookies and create a session. Once that is complete the will be redirected to a page on domainb.com</p> <p>Part B: Check I want to make it so, whenever a user visits domainb.com or domainc.com the system will check for a valid session, if its valid it will just proceed, if not it will contact domaina.com and check for a cookie set by the login process. If set, it will set a cookie in the new domain and log user in. If not set, redirect user to domainb.com or domainc.com login page.</p> <p>I don’t know how to send the info between the domain, so I’m looking for sample code or any type of thing that will help me out on how to securely (without https) to send data between my sites without leaving opening for hackers to easily take it.</p> <p>I don't have a preference in language, but i prefer php, js, html and am open to ajax requests if it is secure.</p> <p>I appreciate all your help. Thank You!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload