CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 directory security

Print topic Send  topic

Author Message
mavtech

Posts: 133
Posted: 06/16/2005, 11:32 AM

We use Mysql and PHP on Apache on Linux.

I would like to build a little program that uses the user table and another table directory_allowed.

I want to be able to bring up a user and click all the directorys that he/she can access.

And then using something like htaccess ??? lock or allow tables for users.

End result is that when the user tries to go to a page that is in a directory that they do not have access to it brings up a page that says you do not have access or a login page.

Any ideas of how to do it would be much appreciated.

Paul
View profile  Send private message
Nicole

Posts: 586
Posted: 06/17/2005, 6:38 AM

Paul,
CCS let you to create User Groups (e.g. Admins, Advanced User, Guest, etc.). You can restrict access to different pages and even forms to different user groups in page/forms Restricted dialog. If user does not have enough access rights to a form it is just not displayed to him. If he cannot access a certain page he is redirected to a page that is specified in page’s Access Denied page property.

_________________
Regards,
Nicole
View profile  Send private message
mavtech

Posts: 133
Posted: 06/17/2005, 6:45 AM

Nicole,
Thank you for your response. My issue is that the pages are not PHP but are created with another application and are HTML. I would like to restrict access to the directories that that they are in.

I will try and explain a little further. The material is all HTML pages and I want customers to have access to only pages that they are authorized for. But since the pages are not created in CCS. I figured a directory system would work.

Is there such a thing.

Paul
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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