CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 securing folders php -ooops!

Print topic Send  topic

Author Message
frodiggs
Posted: 04/19/2002, 11:20 AM

i have created a basic php login script that connects to mssql and takes users to a specific path/url on my IIS5 box if the password and username match.

i now realized that once you get to the url you can easily bookmark it and avoid the login page alltogether. how would i restrict access to the folder without using NTFS and conflicting with the php login.

i would like any access to the folder/files to revert the user to the login page. do i use sessions?

any help would be great!
Brent
Posted: 04/19/2002, 8:09 PM

Why can't you simply set a Security Level=1 for the folders.php page? If the
user goes there via a bookmark, the $UserRights session variable is not set
so it launches the Login page which forces him to login before he can view the
filters.php page.

   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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