开发者

Javascript Login Browser PopUp

开发者 https://www.devze.com 2022-12-15 16:49 出处:网络
If I have a different app on x-number of subdomains, it seems easiest to just have login be through the browser/javascript popup.Is this safe?Is it better to do this than server-side authentication?D开

If I have a different app on x-number of subdomains, it seems easiest to just have login be through the browser/javascript popup. Is this safe? Is it better to do this than server-side authentication? D开发者_运维问答o you have a little pastie on how to make the authentication popup and pass the info to say Rails?


It's best to use server-side authentication for things such as hosting and the like, the security is much more elaborate and you can implement more checks and balances.


I would definitely use server side authentication. There's more flexibility, and its more secure.

I understand the desire to make things easier for the user, but security is one area where safe is better than easy.

0

精彩评论

暂无评论...
验证码 换一张
取 消