Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder Public Beta Tests » View Thread |
Messages 1 to 8 of 8 total |
DB Authentication |
Thu, Mar 5 2020 8:31 PM | Permanent Link |
Richard Harding Wise Nutrition Coaching | <<The client application (browser) database access now requires that you use a session with all database API calls, and the session must be authenticated before any database API calls can be made.>>
<<All authentication-related properties, methods and events have been removed from the native web server modules - authentication must be performed through the web server authentication prior to executing any calls to a web server modules.>> Would someone be able to explain what needs to be done to perform the required authentication? Many thanks. Richard |
Fri, Mar 6 2020 10:42 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Richard,
<< Would someone be able to explain what needs to be done to perform the required authentication? >> Do you want to allow anonymous access, or do you want to have defined users/roles ? I'm doing a video on getting started with the client/server applications shortly, I just got sidetracked with bug reports and some other stuff this week and didn't get around to it. So look for it by Monday. Tim Young Elevate Software www.elevatesoft.com |
Fri, Mar 6 2020 11:50 AM | Permanent Link |
Richard Harding Wise Nutrition Coaching | <<Do you want to allow anonymous access, or do you want to have defined users/roles ?>>
Anonymous access is fine. <<I'm doing a video on getting started with the client/server applications shortly, I just got sidetracked with bug reports and some other stuff this week and didn't get around to it. So look for it by Monday.>> Thank you. Richard |
Fri, Mar 6 2020 12:44 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Richard,
<< Anonymous access is fine. >> Okay, let me spend some time today and make sure that the native web server modules are still working properly, and then I'll post some steps. I don't want to have you try to do something and then have it fail because of some silly bug. Tim Young Elevate Software www.elevatesoft.com |
Mon, May 4 2020 3:56 PM | Permanent Link |
Chris Holland SEC Solutions Ltd. Team Elevate | Did this video ever get done?
Is it on You Tube? Tim Young [Elevate Software] wrote: Richard, << Anonymous access is fine. >> Okay, let me spend some time today and make sure that the native web server modules are still working properly, and then I'll post some steps. I don't want to have you try to do something and then have it fail because of some silly bug. Tim Young Elevate Software www.elevatesoft.com Chris Holland [Team Elevate] |
Tue, May 5 2020 1:42 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Chris,
<< Did this video ever get done? Is it on You Tube? >> No, I still have to do it. I was waiting until I got the BLOB updates completed, but they keep getting pushed off. Tim Young Elevate Software www.elevatesoft.com |
Sat, Dec 5 2020 9:21 AM | Permanent Link |
Ronald | Chris Holland wrote:
<Did this video ever get done?> Hi, Have you found out by now how to acces anonymouse? Thanks. Ronald |
Mon, Dec 21 2020 2:09 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Ronald,
<< Have you found out by now how to acces anonymouse? >> Here is the new documentation on this: 1) How the authentication works: https://www.elevatesoft.com/manual?action=viewtopic&id=ewb3&topic=Server_Authentication 2) How the TServerSession component is used in client applications for database authentication: https://www.elevatesoft.com/manual?action=viewtopic&id=ewb3&topic=Database_Architecture (under Core Components) You have two options with the authentication as it relates to the database access in EWB: 1) Just leave everything as-is, and execute all database requests as the Anonymous user using the auto-created global TServerSession instance called "Session". This will emulate what you had with EWB 2.x. The only downside is that it will incur one failed database request (the initial request that results in a 403 Forbidden response) every time a session needs to be initiated on the web server. The TDatabase component instance in the client application will handle the 403 transparently and automatically retry the failed database request after authenticating. 2) Use an explicit TServerSession and make sure that it is assigned to any TDatabase instances through the TDatabase.ServerSession property. Then, call the TServerSession.Authenticate method to manually authenticate: https://www.elevatesoft.com/manual?action=viewmethod&id=ewb3&comp=TServerSession&method=Authenticate and the TServerSession.OnComplete event handler to get notified when the authentication is complete so that you can start making database requests: https://www.elevatesoft.com/manual?action=viewevent&id=ewb3&comp=TServerSession&event=OnComplete Both of the example applications show how to perform anonymous authentication using an explicit TServerSession instance as the first step when the application launches (number 2 above). Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Thursday, October 3, 2024 at 06:23 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |