CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Need more of a dynamic approach to form authentication

Print topic Send  topic

Author Message
ppadilla

Posts: 5
Posted: 08/11/2004, 10:38 AM

In the builders the access priveledges are defined statically.

I want to create a table with groups. I want to create a group id in a table and define the pages that they are allowed to view instead of statically defining it from the builder

Has anyone done this?
View profile  Send private message
NR
Posted: 08/22/2004, 6:55 PM

Not really, but you could try this approach:
Define basic groups for the project needs. At the page level grant access to all, or most of, the groups. Define the tables and populate the 'groups' you need, how you need. Then build a function to be called from the before_show or after_initialize and include it in all the pages. This function will perform your particular verifications and redirect the user if not allowed. He will never see the page and you can duplicate the usual behavior for unauthorized access.
ppadilla

Posts: 5
Posted: 08/22/2004, 7:20 PM

Excellent advice NR! Thanks!
View profile  Send private message
dataobjx


Posts: 181
Posted: 08/25/2004, 9:26 AM

In the next issue of CCS Developer Magazine, we'll be providing the code and methods to implement a more dynamic approach to security at the page level.

You can go to http://www.dataobjx.net, register and download the first issue of CCS Developer Magazine and the source code for the articles FREE.
_________________
www.DataObjx.net
www.mydigitalapps.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.