Jump to content

[SOLVED] Hiding <HREF>


aztec

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.