CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Extra Security based on pages

Print topic Send  topic

Author Message
oishyasan
Posted: 03/16/2002, 8:59 AM

Hi guys, I have checked through all the security pages for this kind of fix - can't find a similar prob.

I want to go further than just using the security levels (1,2,3, etc.)
I want to restrict access to particular pages based on other variables - and still include the generic security level as provided by CC.

The reason for this is where I have more than one portal using the same pages and security levels in the portals.
Portal A, Admin.php
Portal B, Admin.php

I don't want people with access rights to Portal A, Admin.php to also be able access Portal B, Admin.php by typing the URL for Portal B, Admin.php.

Example: To access Portal A, Admin.php, user must have security_id=2 and portal_id=1 in user table.

Any ideas? I have tried putting custom security code in the Admin.php page to check if the user has these rights and uses the Header function to "allow" them to access the Admin.php - but I realised it just creates a loop and the page appears to jam.
Nicole
Posted: 03/18/2002, 4:39 AM

Hello,
refer to following thread:
http://www.gotocode.com/disc_viewt.asp?mid=5932&s_topic=UserID%5Fapp&
I think it is what you are looking for.
Nicole
Posted: 03/18/2002, 4:39 AM

Hello,
refer to following thread:
http://www.gotocode.com/disc_viewt.asp?mid=5932&s_topic=UserID%5Fapp&
I think it is what you are looking for.
oishyasan
Posted: 03/19/2002, 4:48 AM

Nicole,

You are nothing short of a champion!
You too, Ken.

I shall try this out! In Japanese, "Ganbarimasu!"

Thanks.

   


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

Web Database

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.