sanjshah12
asked on
Navigating between 2 Webform applications (Asp.Net) Securley
Hi,
We have 2 applications and would like a user to switch to one them securely, so the user will login (with username and password) to one Site A and then click on a link to navigate to the Site B. If I checked that the user is coming from Site A (referring site and page) would this be enough to ensure this is safe or should I make more checks?
Any recommendations would be helpful.
Regards,
We have 2 applications and would like a user to switch to one them securely, so the user will login (with username and password) to one Site A and then click on a link to navigate to the Site B. If I checked that the user is coming from Site A (referring site and page) would this be enough to ensure this is safe or should I make more checks?
Any recommendations would be helpful.
Regards,
ASKER
Many thanks Chinmay for replying.
I am using Asp.Net Webforms VB. Yes I can place both applications on the same server and possibly on the domain if required.
Any help is appreciated.
Would a web service be a better approach?
Thanks
I am using Asp.Net Webforms VB. Yes I can place both applications on the same server and possibly on the domain if required.
Any help is appreciated.
Would a web service be a better approach?
Thanks
Web Service???? I am not sure I understand the context here.
If you can provide me details on the requirements then I can tell you if a Web Service is required. If you have two distinct apps providing two different features then keeping them separate is the right thing to do - unless your business requirements dictate otherwise.
If you can provide me details on the requirements then I can tell you if a Web Service is required. If you have two distinct apps providing two different features then keeping them separate is the right thing to do - unless your business requirements dictate otherwise.
ASKER
Thanks Chinmay,
These need to be 2 different webforms applications just because they have different requirements and features.
I would like to redirect a user (already logged in to SiteA) to SiteB, from where they will complete a form etc. I really do not want them to login again. It would be nice if I could forward information such as email address, name from SIteA to SiteB but not essential.
Thanks for your help
These need to be 2 different webforms applications just because they have different requirements and features.
I would like to redirect a user (already logged in to SiteA) to SiteB, from where they will complete a form etc. I really do not want them to login again. It would be nice if I could forward information such as email address, name from SIteA to SiteB but not essential.
Thanks for your help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Chinmay,
Just to confirm the only I need to create a machinekey ?
Regards,
Just to confirm the only I need to create a machinekey ?
Regards,
Yes. Please do a PoC.
The approach you are trying to use is not safe at all. Anyone can spoof that approach and basically create a havoc on your Site B.
What you need is a technique called SSO - Single Sign On - which can be implemented in multiple ways. IF you can provide more details about your requirements and how your apps are set-up (ASP.Net WebForms? MVC? ASP.Net Core? Apps reside on the same server? Same domain? etc.) I can suggest which route to take.
Regards,
Chinmay.