Forum Moderators: open

Message Too Old, No Replies

Cloaking in ASP for NT servers

Here is a basic peace of code

         

circuitjump

6:49 pm on May 23, 2001 (gmt 0)

10+ Year Member



Hi all,

I have been looking around for code or ideas to use for cloaking in ASP. I can't find anything so finally I went ahead and created a basic one.

I built it in ASP. What it does is it grabs the IP address of whoever is requesting the page. Then it checks the IP address on a Database that has the spider information like IP Address and name and so on. If the IP address matches with one of those, then it's a spider. So what it does is direct it to the page that has all the keyword stuff for the spiders to grab. But if the IP address does not match with any of the ones that are in the DB it directs it to the page that humans are gonna see.

So, if anyone here wants to get a start on cloaking with ASP or if you just want to look at the code for later use or even help develope it, go to [redblue3.com...]

Thanks all :)

Air

5:12 am on May 24, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thank you circuit, I'm sure it will be usefull to all who have asked about cloaking and ASP, it makes a great starting point. Very nice!

Rusky

8:45 am on May 24, 2001 (gmt 0)

10+ Year Member



Thanks for that we are purely nt based here and it might well come in handy, if it ever gets to the stage where I have no choice but to cloak....

littleman

8:03 pm on May 24, 2001 (gmt 0)



Circuitjump, thanks for the insight on ASP cloaking. It is amazing how little there is publicly available on this subject.

circuitjump

10:57 pm on May 24, 2001 (gmt 0)

10+ Year Member



Yeah your right. I wish it did'nt have to be this hard. But, oh well ........ what can we do?
Anyways, I'm gonna be adding e-mail capability to the script so when a spider visits you the script also e-mails you with the spiders information so that you know who's been at your site.

Thanks

JuniorHarris

1:54 am on May 27, 2001 (gmt 0)

10+ Year Member



I'd like to see an email addition...but I suppose one would also have to be careful as some engines such as FAST can index thousands of pages in a single session. Not to mention the simultaneous multi-address-threading indexing Google performs.

Xoc

6:52 am on May 30, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I gave the code for how to send email from an active server page in this thread: [webmasterworld.com...]

JuniorHarris

12:29 pm on May 30, 2001 (gmt 0)

10+ Year Member



Thanks XOC...are there any components that must be registered...or do you only need a mail server installed.

circuitjump

11:54 pm on May 30, 2001 (gmt 0)

10+ Year Member



O.k,
I have added e-mail capabilities to the script now.
I've checked it and it seems like it's working good.
You'll notice that the e-mail code has red comments.

Cool!:)

Xoc

3:22 am on Jun 2, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



When you install the SMTP server component on the server, it automatically registers the cdonts library and makes it available. I highly recommend restricting the SMTP component to only work with the IP address of the server, or setting your firewall to restrict port 25. Otherwise you might inadvertantly turn your machine into an open mail relay. The spammers would love that.

JuniorHarris

1:04 pm on Jun 3, 2001 (gmt 0)

10+ Year Member



Thanks for all the info...I should have suspected the component would be registered with the SMTP installation.