How to disable to entering an application by default

Hello,

When we create and deploy an any application using SC it is available and reachable to everyone. Everyone could access it if s/he know the url.
I want to nobody access it before entering an username / password in control application. How can I do it?

If you make use of security option then starting any application w.o. logging on will generate a security error. Another option would be to set a global var if logged on and do a sc_redir to the logon application from any application if this variable is not set. This check can be done in onscriptinit.

Thanks for your reply aducom.
I have tried 2nd option which is set a global variable when logging then check it at other applications. But whenever I set global variable, on runtime it ask me a value of global variable. I think I have to change it as OUT parameter but I couldnt find a menu to to this. Can you help me about this issue? How can I change a global variable settings IN /OUT

click the ‘Application’ twisty on the left side, Then on the Global Variables in the list. That will show you the variables you have defined, and you can change them to ‘out’.

Thanks for the reply but unfortunately I couldnt be able to find “Global Variables”. I dont know what am I missing but it is simply does not apper.
Where it is? I am using v7.1

Look at left menu: Application / Global Variable:

2013-08-07_19h43_06.png

[QUOTE=RHS;16348]Look at left menu: Application / Global Variable:

[/QUOTE]

Ohw, thanks god. Now I see. :slight_smile:
Regards