+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Two general questions in regard to specific Sitefinity abilities

Two general questions in regard to specific Sitefinity abilities

13 posts, 0 answered
  1. martin
    martin avatar
    43 posts
    Registered:
    10 Feb 2009
    11 Feb 2009
    Link to this post
    Hello,

    I have a question as to whether Sitefinity can do two specific tasks. I am pretty new to CMSs/database and the like... so please bear with me if I'm asking the obvious:

    First off, the website for which we hope to be using Sitefinity requires a "members-only" area (as well as a public front face that anyone can access). Does Sitefinity deal with such things? Where a database of user log-ins and passwords can be stored and implimented within the site?

    Secondly, the website in question would need to be able to link to an externally hosted "portal" where e-commerce will be delt with. Now, in layman's terms is this linking easily acheived (I assume details about the portal would be needed to answer this) and would it be possible for membership log-in details to be passed from Sitefinity to the e-commerce portal... so that members don't need to 'sign-in' again when visiting the online store.

    Any info greatly received.

    Regards,
    Martin.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    11 Feb 2009
    Link to this post
    Hi martin,

    First off, the website for which we hope to be using Sitefinity requires a "members-only" area (as well as a public front face that anyone can access). Does Sitefinity deal with such things? Where a database of user log-ins and passwords can be stored and implimented within the site?


    It depends on the website you have. You can have some pages with deny anonymous access and they will be shown only to users that has been authenticated. So that authenticated users will be able to browse some paid resource or administration area.
    You can also use Sitefinity backend as members - only area. For instance if you develop a custom module, you can give access only to authenticated users to this module.

    Secondly, the website in question would need to be able to link to an externally hosted "portal" where e-commerce will be delt with...

    If you are the owner of the portal, you could try make the both applications working together. The portal could a sub application of Sitefinity or vice verse, but it require some coding and server settings to integrate this solution.

    Also, desired approach require Implementation of Single Sign-on ( we will support this by default after 4.0) and creating a custom login forms for your users.

    I hope this helps.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. martin
    martin avatar
    43 posts
    Registered:
    10 Feb 2009
    11 Feb 2009
    Link to this post
    Hi,

    Thanks for the further responses.

    "You can have some pages with deny anonymous access and they will be shown only to users that has been authenticated. So that authenticated users will be able to browse some paid resource or administration area."

    This sounds interesting... but I then need to ask - would it involve the site visitor having their own username and password (which they can re-input upon returning to the site) or is it a more "one off" thing where once authorisation has been given that site visitor will have automatic access forever more?

    "If you are the owner of the portal, you could try make the both applications working together."

    The portal in question is owned and maintained by an outside 3rd party - not technically owned by us. I am currently unsure as to what software/hardware set-up they employ.

    Regards,
    m.
  4. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    11 Feb 2009
    Link to this post
    This sounds interesting... but I then need to ask - would it involve the site visitor having their own username and password (which they can re-input upon returning to the site) or is it a more "one off" thing where once authorisation has been given that site visitor will have automatic access forever more?

    Sitefinity uses the standard asp.net membership provider system for authenticating users. If you Deny Access to a page, then ANY user who is not logged in will be unable to view the page, and redirected to a login page. As long as they are logged into the site, they will have access to the page. this access is implemented at the user level, so each individual user will need to register a username and password to login.
     
    I can't give much insight into integration with an external, 3rd party site. Is this site also asp.net?
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    11 Feb 2009
    Link to this post
    Hi martin,

    Generally, when a user has been logged once, you will not have to log in again until it is signed out. I am not sure how this third party e-commerce works. It should have its own API and probably you should instruct it to treat you as logged through a web service.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. martin
    martin avatar
    43 posts
    Registered:
    10 Feb 2009
    12 Feb 2009
    Link to this post
    Thanks again for the replies.

    I am about to speak to the people who run this third party "portal". I shall enquire as to what software/hardware API they use.

    The situation really boils down to the above mentioned 'members area' - where within the e-commerce section (outside the sitefinity website) certain items are available only to registered members. Thus the client really needs the ability for registered members to sign-in within the sitefinity website itself, the browse there way to the e-commerce portal (without seeming to leave the website) and then silently have that sitefinity log-in membership be passed to the portal software... to allow purchase of "members only" products without the need to sign-in again within the e-commerce site.

    Regards,
    Martin.
  7. martin
    martin avatar
    43 posts
    Registered:
    10 Feb 2009
    12 Feb 2009
    Link to this post
    "treat you as logged through a web service"

    Ah.... now having had a very quick chat with one of the guys at the offices of the company hosting the portal - "web service" was also mentioned.

    So if Sitefinity can send info of membership log-in via a web service AND the Portal people are expecting this information via a web service... then I have gained confidence that the two will be able to talk to each other ok. Although I'd still like to further check details.

    Thanks again,
    Martin.
  8. martin
    martin avatar
    43 posts
    Registered:
    10 Feb 2009
    12 Feb 2009
    Link to this post
    Hello again,

    Further details supplied by the owners of the 3rd party portal. Can I ask someone from Sitefinity support staff to just read through my quoted text and let me know this info compatible with Sitefinity? By what I've read, I'd think it is... but I'd like a qualified answer if possible.

    "So that the user does not have to login twice to access secured pages on the client’s site and within Portal the login fields “Username” and “Password” will be on the client’s site. The captured data from the client’s site is then sent using a remote call to Portal using Web Services to authenticate the user.

    The response of the Web service will allow the client’s site to determine if the login was successful and allow or deny access. If successful the client’s site will use this to create a login allowing the user to browse to secured areas.

    Once the user can access secured areas of the client’s site they may wish to allow them access to areas of Portal to do this the client site would have one or many links to pages within Portal which load within an IFrame and by passing elements of the Web Service response back to Portal with the page request a login is triggered within Portal. Users then use Portal to change their information within customisable Portal pages and the information can then be synchronised back to EnterpriseMRM.

    Login
    Remote Authentication with Portal is made through Web Services hosted within the Portal website. Like Portal plus the Web Services are written in ASP.NET and use the SOAP message Protocol."

    Regards,
    Martin.

  9. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    13 Feb 2009
    Link to this post
    Hello martin,

    That make sense. My idea is that you should send the request to the remote server in Login1_LoggedIn method as the example below.

    ~/Sitefinity/Login.aspx.cs

        void Login1_LoggedIn(object sender, EventArgs e) 
        { 
            ..... 
            ..... 
     
            // your login here, send request to the remove server 
     
            this.Page.Response.Redirect(redirectUrl, true); 
        } 

    I am not sure how the portal remote authentication is set up, but probably you should be able to pass authentication cookie to remote server in the code above.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  10. martin
    martin avatar
    43 posts
    Registered:
    10 Feb 2009
    22 Feb 2009
    Link to this post
    Hello again,

    I would like to be able to push this question (of working with the e-commerce portal) further - now that the job has gone "live".

    We have (on a small windows server, used for testing) a copy of the demo version of sitefinity. I'd like to think we can work on this demo - to communicate with the portal.

    This is a PRIORITY for our client and the pushed for sitefinity - due to it's seeming asp.net/web service compatibility.

    The situation is this:

    The database on site membership will be held within the portal. Thus the log-in module within the sitefinity built main website would simply send that log-in info to the portal. The portal would reply either "true" or "false" (depending on whether the log-in was correct or not). The portal would also pass back a 'token' so that if the logged-in member later actually visited the store (via an iframe window within a main website page) the 'token' would prove their status and tell the portal API what 'membership' discount they're allowed.

    The current "details" I have on the portal are:

    EnterpriseMRM PortalPlus

    So that the user does not have to login twice to access secured pages on the client’s site and within Portal the login fields “Username” and “Password” will be on the client’s site. The captured data from the client’s site is then sent using a remote call to Portal using Web Services to authenticate the user.

    Technical Information

    Login

    Remote Authentication with Portal is made through Web Services hosted within the Portal website. Like Portal plus the Web Services are written in ASP.NET and use the SOAP message Protocol.

    I can supply further info - but I'd rather not (on a publicly viewable forum). I'll happily email the PDF document in question - in hope of gaining a helpful response on how this communication can be technically achieved... remembering that I am new to .net coding and sitefinity.

    Many thanks,
    Martin.
  11. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    27 Feb 2009
    Link to this post
    Hello martin,

    Please email the file you have to ivan.dimitrov@telerik.com and give us more detailed information about the Remote Authentication with the other portal. Code snippets and api references will be helpful. Generally the idea is to request the remote server in Login1_LoggedIn method as I told you in my previous reply.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  12. martin
    martin avatar
    43 posts
    Registered:
    10 Feb 2009
    02 Mar 2009
    Link to this post
    Hello Ivan,

    I have emailed you (twice, in fact) as requested... hopefully they have got through to you.

    Thanks again,
    m.
  13. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    02 Mar 2009
    Link to this post
    Hello martin,

    I received the emails. Will take a look at the pdf and  doc in the next few days and let you know what could be done.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
13 posts, 0 answered