views:

46

answers:

3

Let's say I have an ASP.NET web application. I create an aspx page that shows a table containing users and email addresses. The user data is stored in a database, and when the page is requested by a logged-in user, html is generated to display the data. If the users requesting the page are not logged in, they are redirected to a sign-in page.

All of this is very standard.

My question is, is there any way the personal data could end up being indexed by a search engine (besides someone hacking into the site or an evil user publishing the data somewhere public)?

What if there was no requirement that users log in? Would the data then be indexed?

A: 

If the users don't have to login to access the data, then I see no reason why a search engine could not get access to it. Your data will be indexed if it's not protected by a login.

If there's a login mechanism, it will not be indexed.

Tony
Agreed, but you also consider if a robots.txt file is in place.
Jason Snelders
A: 

IMO you should remove the login requirement from the profile page and also make a sitemap to give a list of users to the search engines. You should prevent guest from viewing users' extra information only.

Mehdi Golchin
Okay, I'll get right on that :)
DanM
+1  A: 

In general, search engines should index exactly whats visible to the public visitors, google will be angry with you if you'll expose something different to their spiders.

if you want to control the pages that are indexed on you server check out: http://www.robotstxt.org

Guy