Security process

Hi,

i wonder how to set the next application when the login is validated, how is this done? And how can i prevent a user to go to an application via url without loging in.

could someone tell me how this is done in scriptcase?

Regards
Erwin

Normally, during the creation of SC security module for a project, you can specify to enable the security in your applications. If you didnā€™t, you can enable it in the Security settings available in each application or through Tools ->Express Edit.

You can redir using sc_redir(ā€˜your_appā€™) in the login app OnValidateSuccess event.

Check this tutorial

XNT

  1. Mine is a little complex ā€¦ perhaps I should do a tutorial ā€¦ I have a form where the user chooses the ā€˜homeā€™ application and then when the menu loads it sets that value and loads it (but if you want just one application specify the specific application) here:
    Menu > Settings > Navigation > Default Application > Application = [usr_dashboard]

  2. To prevent a user from choosing an app from the url set ā€œEnable direct call by URLā€ to no (see Security in the application)

Thanks! Is Working !

1 Like