Results 1 to 3 of 3

Thread: Authentication outside SugarCRM e.g. AJAX

  1. #1
    datasponge is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    San Jose, CA, USA
    Posts
    553

    Default Authentication outside SugarCRM e.g. AJAX

    Hi All,

    I've started using AJAX for a few specific purposes in editing specific fields in SugarCRM. My SugarCRM system is inside the firewall, so I've just hard-coded table updates. But this quickly becomes a huge security hole, especially for installations on hosted internet servers.

    I've seen several topics in the Forum with people proposing more broad use of AJAX for editing all fields. More generally, I have seen many questions about being able to include SugarCRM files and access global variables from outside the context of SugarCRM. It's easy when you're modifying SugarCRM code or writing a logic hook.

    So I'd like to get a better understanding of SugarCRM authentication in different contexts including AJAX. I'd also like to get a better understanding of the different contexts that exist - that is the different ways to write php pages that can access SugarCRM data and code variables.

    I have not previously paid much attention to this, so this could be a solved issue, but I don't recall any posts saying that. I've also resisted learning SOAP up to this point and this may be solved there.

    Is this already covered in the Wiki or Developer's Guide or by the SOAP API?

    Is the community that is using AJAX also within the firewall or are you building authentication into your AJAX php pages?

    What's the right way to write a php page called by AJAX so that it ties into SugarCRM authentication before accessing critical data?

    I think a discussion of this topic would be valuable given the increasing volume of code getting posted that may get propagated to users with different assumptions and start causing pain.

    Phil

  2. #2
    datasponge is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    San Jose, CA, USA
    Posts
    553

    Default Re: Authentication outside SugarCRM e.g. AJAX

    That never turned into much of a discussion

    But luckily I saw this thread. Post #3 by mangesh1757 gives how to use SugarCRM authentication within a custom page called by AJAX.

    Good stuff!

    Phil

  3. #3
    mangesh1757 is offline Sugar Community Member
    Join Date
    Jan 2010
    Location
    India
    Posts
    226

    Default Re: Authentication outside SugarCRM e.g. AJAX

    Hi datasponge,

    Thanks for that Good stuff post, it's a great learning experience out here in forums.

    Cheers.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SugarCRM 4.5f Linux server AD authentication
    By mpietersen in forum Help
    Replies: 5
    Last Post: 2009-12-03, 06:24 AM
  2. Replies: 1
    Last Post: 2008-10-03, 04:52 PM
  3. Sugarcrm 5.0 und ajax email
    By kiwiwi in forum Deutsche
    Replies: 3
    Last Post: 2008-02-24, 08:04 PM
  4. SugarCRM and HTTP Authentication support
    By kimvette in forum Help
    Replies: 3
    Last Post: 2006-01-21, 09:10 PM
  5. Replies: 6
    Last Post: 2004-11-01, 10:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •