Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Authentication for individual forms
#1
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   IWTEST.zip (Size: 59.93 KB / Downloads: 4)
Reply
#2
I'll test it and let you know the results
Reply
#3
Hi,

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)