View Full Version : Pay special attention to this change in Beta 2

Stephen W. Meeley
21-Apr-2014, 10:30 AM
In the Beta 2 Build Notes and What's New you will see reference to this change...

The default security rules have been improved where views now require the user to be logged in by default. This depends on the combination of the peLoginMode property of the cWebApp object and a new property pbLoginModeEnforced available on each view. This pbLoginModeEnforced property defaults to true and needs to be set to false for views that do not require a login when peLoginMode is set to lmLoginRequired.

The example login dialog instance itself has the new property set to false to allow it to work correctly before the user is logged in. You need to set it to false in your own login dialog instances.

21-Apr-2014, 11:23 AM
The beta2 notes have this property listed as pbEnforceLoginMode.

Stephen W. Meeley
21-Apr-2014, 11:38 AM

I believe that is a typo. We went around and around on what to call the new property.

21-Apr-2014, 11:40 AM
I agree - you got it right in your post. I copied and pasted from the beta2 notes and had compiler errors.

Mike Cooper
21-Apr-2014, 12:13 PM
Nice addition Stephen.

Harm Wibier
6-May-2014, 07:51 AM
See the WebApp Framework Access Restriction (http://support.dataaccess.com/Forums/entry.php?179-WebApp-Framework-Access-Restriction) blog for details on this security issue and the solution for 17.1.

John Sutton
10-Jul-2014, 09:10 AM
Who won :)