Jump to content

Recommended Posts

Hello

 

Part of my login system is that when a user wishes to login they are directed to a "protected" page that checks to see if they are logged in and if not launches a login page, the login is based on setting a session and works satisfactory.

 

My concern is that although the page is a combination of PHP, CSS and HTML the visitor, should they wish can look at the source code and see the remaining HTML and the calling page hfef.

 

Whilst the calling page is "protected" by showing the calling page it would give someone intent on penetrating the members area a page reference to work on at their leiasure.

 

My question is can this be hidden in the source code.

 

<a href ="membersonly.php"> Login Page</a> 

 

Kind Regards

Link to comment
https://forums.phpfreaks.com/topic/87919-solved-hiding/
Share on other sites

Hello

 

Thanks REVAZ

 

You obviously don't think that there is a security problem then.

 

Regarding using a header to take them away, this is new territory for me so two questions,

 

a) do I need to use htaccess for this

b) would you point me in the right direction

 

Regards

Link to comment
https://forums.phpfreaks.com/topic/87919-solved-hiding/#findComment-449841
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.