Atozed Forums
Authentication for individual forms - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Authentication for individual forms (/thread-1261.html)



Authentication for individual forms - MJS@mjs.us - 09-21-2019

Added an auther component to SC and set apRestrictAll.  
Overrode 'RequestAuth(...)' in default form to return false and disable authentication for that form.
Added 2nd form without overriding 'RequestAuth(...)' so as to require authentication.

Default form loads ok on startup, 2nd form displays without authentication on first try then browser prompts for credentials on any other access.  I'm thinking the 2nd form shouldn't display until credentials are given on the first try.

Simple demo project attached.

Project attached.


RE: Authentication for individual forms - Alexandre Machado - 09-23-2019

I'll test it and let you know the results


RE: Authentication for individual forms - Alexandre Machado - 12-05-2019

Hi,

yes, you are correct. Second form should authenticate before executing.

I'm currently working on a fix and will keep you posted.