web - Does DNS NS record invalidate session cookies? -


my website allows users use subdomains own site, , use cross-domain cookies global authentication: users can log in via www.mysite.com access user1.mysite.com.

now users may want have own domain name, can bind domain name www.abc.com subdomain user1.mysite.com ns record added via domain name provider. question is: cause log in fail www.mysite.com? or in other words, cookie shared between www.abc.com , user1.mysite.com ?

i cannot allow users log in www.abc.com, 2 reasons:

  1. users visit many subdomains of mysite, want cookie shared.
  2. i used oauth sign-in option, , oauth allows 1 redirection url after authenticatoin.

ns records have nothing web authentication, used purely dns resolution. putting in ns record @ www.abc.com refers name servers mysite.com doesn't work @ unless hosting www.abc.com. , sure hope you're not trying hijack www.abc.com. disney corporation not happy you. :)

if mean else, please clarify better example (i.e., show ns records name , target).


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -