Best way to prevent access to page B except via page A?

This is a discussion on "Best way to prevent access to page B except via page A?" within the PHP Forum section. This forum, and the thread "Best way to prevent access to page B except via page A? are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Apr 3rd, 2008, 00:45
Reputable Member
Join Date: Mar 2005
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
Posts: 245
Thanks: 6
Thanked 0 Times in 0 Posts
Best way to prevent access to page B except via page A?

Hopefully the title says it all. I need to make sure that page B can not be linked to or directly accessed except via a password form on page A. I'd prefer to do this server side as opposed to using javascript, etc. (The contents of page B contain very valuable trade secrets and must be well protected.)

What's the best way to handle this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Apr 3rd, 2008, 02:15
saltedm8's Avatar
SuperMember

SuperMember
Join Date: Nov 2005
Location: here
Age: 27
Posts: 1,518
Blog Entries: 2
Thanks: 1
Thanked 11 Times in 11 Posts
Re: Best way to prevent access to page B except via page A?

look into sessions

http://www.phphacks.com/content/view/29/33/

http://hvassing.com/2007/simple-php-...ion-and-mysql/

just google it and you will find loads

these are vulnerable to injection hacks as they stand, but if you create it, then ask in the php forum, we could tell you how to make them secure
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)

Last edited by saltedm8; Apr 3rd, 2008 at 02:20.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
referrer, secure site, security

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent multiple instances of web page duncanwill JavaScript Forum 2 May 21st, 2008 08:16
Printing single record from Access via Report in Web Page Neotekk JavaScript Forum 0 Jun 18th, 2007 15:20
how to prevent page jumping while click on iframe kathirnk Web Page Design 1 Apr 16th, 2007 14:05
Restrict Access To Page / php MySQL / DW Andy K Databases 8 Feb 18th, 2006 17:05
Access a HTML InputBox through the Code-Page bwalker ASP.NET Forum 5 Nov 10th, 2005 12:58


All times are GMT. The time now is 23:38.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42