Welcome Guest, Not a member yet? Register   Sign In
Private pages in search engines
#1

[eluser]yabune[/eluser]
Hi,

I'm creating a web application with CI.
I already implemented a login with sessions so that only the registered users can access it.

But what about the search engines?
Will it be protected from search engines?
Do I have to setup any extra settings so that the information inside the protected area doesn't show up on google?

Thank you!
#2

[eluser]BrianDHall[/eluser]
To test for yourself just go to one of your protected pages directly without being logged in, such as yoursite.com/membersonly/protectedpage - what does it do or say? That is what search engines will see, not your protected content.
#3

[eluser]bretticus[/eluser]
If you have server-side code that restricts a page from showing based on whether or not a session variable exists, then no, search engines cannot magically set that session variable. Your private pages are protected.
#4

[eluser]yabune[/eluser]
Thanks a lot!

That was what I need to know.

And the data in mysql database should I encrypt data, or is it ok to leave it as it is?
#5

[eluser]n0xie[/eluser]
You should probably hash passwords...
#6

[eluser]basty_dread[/eluser]
every function on your controller should have login validation. so that no one can enter, unless he/she log in..




Theme © iAndrew 2016 - Forum software by © MyBB