Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Authentication for individual forms
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.

Attached Files
.zip (Size: 59.93 KB / Downloads: 8)
I'll test it and let you know the results

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

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

Forum Jump:

Users browsing this thread: 1 Guest(s)