NetTalk Central

Author Topic: Security Access  (Read 3343 times)

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Security Access
« on: May 16, 2010, 08:17:41 PM »
Hi All,

I have been using the security access options on the templates. It all works fine and does not bring up a screen if the user should not have access. The only problem is that there is no warning that access is blocked. Is there any template options I have overlooked? If not where in the source code could I trap this to bring up a warning screen? I presume it would work similar to the logon window.

Cheers,

Kevin

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Security Access
« Reply #1 on: May 16, 2010, 10:14:44 PM »
Hi Kevin,

There is explicitly no warning when content is suppressed.

This is partly because a message is unnecessary (if the person is being "clever" to get there) and partly because it allows you to construct pages that appear differently if the person is logged in or out. (Without some scare message appearing).

For _pages_ that are access denied (as distinct from controls, like browses and forms) then an Unauthorized error is displayed.

cheers
Bruce


kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Security Access
« Reply #2 on: May 16, 2010, 10:44:48 PM »
For _pages_ that are access denied (as distinct from controls, like browses and forms) then an Unauthorized error is displayed.

> I'm not getting any warning for pages. I just tried it on the example 43 and got no warning either.

> Is there anything special I need to do?