hi
asp.net 3.5
I want from my website I'm creating being able to detect the owner of
other websites, So I'm wondering how to perform such a check.
Users can register on my website and claim that they own certain
websites, I need some code that can verify that..
Any ideas how to do this?
You could only include websites that have an owner email address with
the same domain name, but this will exclude people who do not use mail
on their site.
You could also run a domain registry whois query and check the email
registered with the registry, but this is a mixed bag as people can
register anonymously now. In addition, some whois registries only
contain their own registered sites, which makes checking a bit dicier
(have user specify where domain is registered is an option, but some
people do not know, as they got the registry as part of a package)
One option, however, would be to whois and then send a confirmation
email to the admin or technical contact of the site. Let people know you
are doing this as part of signup, however, or you might really piss them
off. Send the email with a link and an explanation. Something like:
Joe Webmaster registered you site on
www.mysite.com today. I am sending
you this email as you are registered as the {} contact for the site
www.yoursite.com. If you registered the site, please click the following
link:
http://www.mysite.com/?id=JHSAJLJDLKFJGJ
If you did not register as the site owner, you can ignore this email.
You then send an email to the person registering letting them know the
approval of the registration is being sent to the {} contact.
No matter how you do this, you have to inform the user on sign up so
there are no hard feelings.
Peace and Grace,
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Twitter: @gbworld
Blog:
http://gregorybeamer.spaces.live.com
*******************************************
| Think outside the box! |
*******************************************