Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
How do i stop people from accessing certain pages on my website?
Old 08-28-2009, 12:15 AM How do i stop people from accessing certain pages on my website?
Knight13's Avatar
Defies a Status

Posts: 10,285
Name: Knight13
Location: Cleveland, Ohio
Trades: 0
I have some pages on my site that i do not want anyone to access mainly my process pages. Now if the person would go to their browser and type in lets say http://www.website.com/process.php that would let them see my process page, how can i stop them from doing that?
Knight13 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-28-2009, 02:44 AM Re: How do i stop people from accessing certain pages on my website?
Extreme Talker

Posts: 181
Name: David Jackson
Trades: 0
it doesnt matter. People wont be able to see your code

people will have to know the name of the page to download it aswell

you could use .htaccess to add an additional level of security
__________________

Please login or register to view this content. Registration is FREE
davidj is offline
Reply With Quote
View Public Profile
 
Old 08-28-2009, 03:47 PM Re: How do i stop people from accessing certain pages on my website?
Knight13's Avatar
Defies a Status

Posts: 10,285
Name: Knight13
Location: Cleveland, Ohio
Trades: 0
How would i use .htaccess to stop people from viewing certain pages?
Knight13 is offline
Reply With Quote
View Public Profile
 
Old 08-28-2009, 06:13 PM Re: How do i stop people from accessing certain pages on my website?
NullPointer's Avatar
Will Code for Food

Posts: 2,781
Name: Matt
Location: Irvine, CA
Trades: 0
http://www.javascriptkit.com/howto/htaccess3.shtml
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is offline
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 08-31-2009, 03:51 PM Re: How do i stop people from accessing certain pages on my website?
Extreme Talker

Posts: 181
Name: David Jackson
Trades: 0
you cant see anything which is going to give your code away

which is why its best practice to also use .php rather than .inc when including files

try it
__________________

Please login or register to view this content. Registration is FREE
davidj is offline
Reply With Quote
View Public Profile
 
Old 09-01-2009, 05:51 PM Re: How do i stop people from accessing certain pages on my website?
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
with htaccess u can limit it to ip or have a login... why not just attach a simple php login to it
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Old 09-02-2009, 06:33 AM Re: How do i stop people from accessing certain pages on my website?
Skilled Talker

Posts: 62
Location: North Yorkshire
Trades: 0
Can you password protect directories or files from your cpanel or control panel?
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
Scarthingwell is offline
Reply With Quote
View Public Profile Visit Scarthingwell's homepage!
 
Reply     « Reply to How do i stop people from accessing certain pages on my website?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.46109 seconds with 12 queries