Security issue

Hi all,

How exactly does the security work in Scriptcase?
I have created a new project, added loginform, menu and some grids/forms, without creating security.
Since the option ‘Enable use of security’ in my scriptcase was off, I did not notice the following problem: after deployment I get the error ‘Unauthorised user’ trying to access the menu after logging on.

That said, I tried creating the security, linking it to my “user”-table, but that did not help, I still get the same error?

I am a little confused, how can you link a project securitywise to an existing usertable in the database without having to rework everything (loginscreen, menu, …)?

Any ideas welcome,

regards
Glenn

First of all, most devs disable security when they are developing because it allows you to run / test an application under development. Before deploy you should enable it and test your application against the security tables. Before you can you must have generated a security module and applied a valid userid/password for an administrator. That’s important because otherwise you cannot adjust access for users. Next the tables needs to contain your applications. In your security menu there’s an option ‘synchronize’. It will list all your apps and put them in your application table. Next you need to adjust rights.For the admin (all checkboxes checked) and for your individual users. Then the security model will work.
Hope this helps.

Hi Albert,

thanks for your reply, I will check this out.

regards
Glenn