473,473 Members | 1,901 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Google ranking vs encryption

I own a PHP-based website.I want to encrypt the HTML output.That will
for sure make the site unindexable by Google.Is there a way to encrypt
the output to the users but not to Google.I suppose that if Google
spider comes always from the same server,It would be easy: All I would
need is the ip address(es) of that server?Please help.
Jul 17 '05 #1
18 2957
On 2004-01-04, Brian Murphy <ya******@yahoo.com> wrote:
I own a PHP-based website.I want to encrypt the HTML output.That will
for sure make the site unindexable by Google.Is there a way to encrypt
the output to the users but not to Google.I suppose that if Google
spider comes always from the same server,It would be easy: All I would
need is the ip address(es) of that server?Please help.

What is wrong with a robots.txt file?

The google spider thingie also sends its own UserAgent name, so you
could filter on that 2

--
verum ipsum factum
Jul 17 '05 #2
"Brian Murphy" <ya******@yahoo.com> wrote in message
news:c3**************************@posting.google.c om...
I own a PHP-based website.I want to encrypt the HTML output.That will
for sure make the site unindexable by Google.Is there a way to encrypt
the output to the users but not to Google.I suppose that if Google
spider comes always from the same server,It would be easy: All I would
need is the ip address(es) of that server?Please help.


look at my site, it has a feature to encypt your html output
http://gzen.myhq.info/encoder-p.php

This is not using the new engine yet, so just take portions of your html,
and put them in a text file,
then the output of file after compression can be used in an include()

--
Mike Bradley
http://gzen.myhq.info -- free online php tools
Jul 17 '05 #3
On Sat, 03 Jan 2004 19:58:55 -0800, Brian Murphy wrote:
I own a PHP-based website.I want to encrypt the HTML output.That will for
sure make the site unindexable by Google.Is there a way to encrypt the
output to the users but not to Google.I suppose that if Google spider
comes always from the same server,It would be easy: All I would need is
the ip address(es) of that server?Please help.

Why not do it the sensible way?

robots.txt or .htaccess and deny access to the google netblock.

Regards,

Ian

--
Ian.H [Design & Development]
digiServ Network - Web solutions
www.digiserv.net | irc.digiserv.net | forum.digiserv.net
Programming, Web design, development & hosting.

Jul 17 '05 #4
Why not do it the sensible way?

robots.txt or .htaccess and deny access to the google netblock.


Because he doesnt want to block google
Jul 17 '05 #5
Filth wrote:
Why not do it the sensible way?

robots.txt or .htaccess and deny access to the google netblock.

Because he doesnt want to block google

Yes, that's the ay I read the OP too. He wants Google to get a plain
HTML version which it can index and he wants browsers to get an
encrypted HTML version.

Derek
Jul 17 '05 #6
On Sun, 04 Jan 2004 14:03:01 +0000, Derek Scollon wrote:
Filth wrote:
Why not do it the sensible way?

robots.txt or .htaccess and deny access to the google netblock.

Because he doesnt want to block google

Yes, that's the ay I read the OP too. He wants Google to get a plain HTML
version which it can index and he wants browsers to get an encrypted HTML
version.

Derek

I own a PHP-based website.I want to encrypt the HTML output.That will for
sure make the site unindexable by Google.Is there a way to encrypt the
output to the users but not to Google.I suppose that if Google spider
comes always from the same server,It would be easy: All I would need is
the ip address(es) of that server?Please help.

This actually sounds contradictory.

Site to be _un_indexable by google (don't want it accessing it?)
Encrypt output to users not google (contradiction to above?)
Google comes from same ip == simple (block google netblock?)
This is what made me draw my conclusion for my reply.

If it's simply "encrypting" the HTML so that users can't read it.. forget
it.. waste of time and effort and 101% useless (regardless of what these
so called "professional companies" will have you believe on their sites)..
if it's something else.. other than the above of totally blocking
google from a site / dir / page then I've clearly missed the point?

Regards,

Ian

--
Ian.H [Design & Development]
digiServ Network - Web solutions
www.digiserv.net | irc.digiserv.net | forum.digiserv.net
Programming, Web design, development & hosting.

Jul 17 '05 #7
On Sun, 04 Jan 2004 15:35:20 +0000, Ian.H wrote:
> I own a PHP-based website.I want to encrypt the HTML output.That will for
sure make the site unindexable by Google.Is there a way to encrypt the
output to the users but not to Google.I suppose that if Google spider
comes always from the same server,It would be easy: All I would need is
the ip address(es) of that server?Please help.

Oops.. now the coffee's kicked in ;)

I read it the same now.. that encryption will _make_ the site unindexable
which isn't the objective but for users to not be able to read the HTML
src =)

Back to the point in my previous post then.. pointless.. useless.. waste
of time, energy and effort.. and doesn't work.. period =)

Regards,

Ian

--
Ian.H [Design & Development]
digiServ Network - Web solutions
www.digiserv.net | irc.digiserv.net | forum.digiserv.net
Programming, Web design, development & hosting.

Jul 17 '05 #8
Ian.H wrote:

Back to the point in my previous post then.. pointless.. useless.. waste
of time, energy and effort.. and doesn't work.. period =)


Yes, on this point I agree with you completely.

Derek
Jul 17 '05 #9

"Tim Van Wassenhove" <eu**@pi.be> wrote in message
news:bt************@ID-188825.news.uni-berlin.de...
On 2004-01-04, Brian Murphy <ya******@yahoo.com> wrote:
I own a PHP-based website.I want to encrypt the HTML output.That will
for sure make the site unindexable by Google.Is there a way to encrypt
the output to the users but not to Google.I suppose that if Google
spider comes always from the same server,It would be easy: All I would
need is the ip address(es) of that server?Please help.

What is wrong with a robots.txt file?

The google spider thingie also sends its own UserAgent name, so you
could filter on that 2


I don't recomend filtering by user agent, as it would be trivial for users
to spoof it, and masquerade as google, thus bypassing your encryption. I
suggest serving unencrypted pages only if the remote IP is owned by google.
However, since google caches all your pages, users can still get the
plaintext versions from Google.
Jul 17 '05 #10
With total disregard for any kind of safety measures
ya******@yahoo.com (Brian Murphy) leapt forth and uttered:
I own a PHP-based website.I want to encrypt the HTML output.That
will for sure make the site unindexable by Google.Is there a way
to encrypt the output to the users but not to Google.I suppose
that if Google spider comes always from the same server,It would
be easy: All I would need is the ip address(es) of that
server?Please help.


Whats the point of encrypting HTML? Not that you ARE doing any such
thing of course.

--
There is no signature.....
Jul 17 '05 #11
Brian Murphy wrote:
I own a PHP-based website.I want to encrypt the HTML output.
That's not going to happen. If the client can't read the HTML, then it
can't render the page. If the client can read the HTML, it's already out
of your hands. Why do you want to encrypt the HTML in the first place?
HTML is simple; there's no great secret to it.

That will for sure make the site unindexable by Google.Is there a way to
encrypt the output to the users but not to Google.I suppose that if Google
spider comes always from the same server,It would be easy: All I would
need is the ip address(es) of that server?Please help.


Serving one thing to search engines and another thing to something else is
known as cloaking, and is liable to get you blacklisted from search
engines.

"Google may permanently ban from our index any sites or site authors that
engage in cloaking to distort their search rankings."

-- <URL:http://www.google.com/webmasters/faq.html#cloaking>

--
Jim Dabell

Jul 17 '05 #12
FYI,

Google will not cache the page it you set a meta-tag, (I forget which one)

--
Mike Bradley
http://gzen.myhq.info -- free online php tools
Jul 17 '05 #13
>>>>> "Brian" == Brian Murphy <ya******@yahoo.com> writes:
Brian>
Brian> I own a PHP-based website.I want to encrypt the HTML
Brian> output.That will for sure make the site unindexable by
Brian> Google.Is there a way to encrypt the output to the users but
Brian> not to Google.I suppose that if Google spider comes always from
Brian> the same server,It would be easy: All I would need is the ip
Brian> address(es) of that server?Please help.

The consistent interpretation I made from this is that Brian wants his
users to browse his site using SSL (https) but that google should
still index it. Perhaps the purpose of the SSL is not to hide the
site (since after all it will be in google's cache) but simply to
authenticate via the certificates that you are not browsing a
different site due to a DNS hack. Maybe someone would want that for
some sort of financial information site.

I would first check the that the google bot won't go to an https site
-- I know when I do google searches I am sometimes lead directly to an
https page, so I think they might.

If not, just make the site available as both SSL and not SSL. If you
wish, you can make all USER_AGENTS other than Google's get re-directed
the https version of the same page. I would do that using apache
redirect configuration, not in php.

--Rob

Jul 17 '05 #14
Why bother? Output encryption is always trivial to break. All I have to do
is type in something like the following into address bar to get everything:

javascript: a = document.createElement('TEXTAREA');
document.body.appendChild(a); a.value =
document.getElementsByTagName('HTML')[0].outerHTML; void(0);

Uzytkownik "Brian Murphy" <ya******@yahoo.com> napisal w wiadomosci
news:c3**************************@posting.google.c om...
I own a PHP-based website.I want to encrypt the HTML output.That will
for sure make the site unindexable by Google.Is there a way to encrypt
the output to the users but not to Google.I suppose that if Google
spider comes always from the same server,It would be easy: All I would
need is the ip address(es) of that server?Please help.

Jul 17 '05 #15
Ok, lets just clarify a few items

Why do you want to do this, perhaps there is a solution.

--
Mike Bradley
http://www.gzentools.com -- free online php tools
Jul 17 '05 #16
Jim
Why ever do you want to stop Google indexing your site? Why not use a
meta-tag?

Jim

"Brian Murphy" <ya******@yahoo.com> wrote in message
news:c3**************************@posting.google.c om...
I own a PHP-based website.I want to encrypt the HTML output.That will
for sure make the site unindexable by Google.Is there a way to encrypt
the output to the users but not to Google.I suppose that if Google
spider comes always from the same server,It would be easy: All I would
need is the ip address(es) of that server?Please help.

Jul 17 '05 #17
> "Brian Murphy" <ya******@yahoo.com> wrote in message
news:c3**************************@posting.google.c om...
I own a PHP-based website.I want to encrypt the HTML output.That will
for sure make the site unindexable by Google.Is there a way to
encrypt the output to the users but not to Google.I suppose that if
Google spider comes always from the same server,It would be easy:
All I would need is the ip address(es) of that server?Please help.

Jim wrote: Why ever do you want to stop Google indexing your site? Why not use a
meta-tag?

Jim


I think you got it wrong Jim. He seems to want to encrypt the HTML so
no-one can see it (giggle), but would still want Google to index it,
since it wouldn't do that (in his opinion) if the page was mystically
encrypted.

Ok Brian. This is a common (newbie) question that arises on all
HTML-related forums and newsgroups every once in a while. There is a
clear simple answer to your question that anyone who knows what they're
talking about will give you:

Dont.

There is nothing worth hiding in your HTML as such. There is nothing
worth hiding in anyones HTML. Besides you cant do it. Either you give
the HTML to the visitors so they can view the site, or you dont give it
to them, denying them access to the site. If they cant see the HTML,
they cant see the site. If they can see the HTML, the can save it, edit
it, and give it to the whole internet.

You can obfuscate, javascript-deform or otherwise make the code hard to
read, but anyone who really would want to see it could still do so with
some effort. There are no HTML secrets, its all standardized, documented
etc. All you end up doing is wasting a huge load of time.

Dont.

--
Suni

Jul 17 '05 #18
On 2004-01-09, Juha Suni <ju*******@ilmiantajat.fi> wrote:
There is nothing worth hiding in your HTML as such. There is nothing
worth hiding in anyones HTML. Besides you cant do it. Either you give
the HTML to the visitors so they can view the site, or you dont give it
to them, denying them access to the site. If they cant see the HTML,
they cant see the site. If they can see the HTML, the can save it, edit
it, and give it to the whole internet.

You can obfuscate, javascript-deform or otherwise make the code hard to
read, but anyone who really would want to see it could still do so with
some effort. There are no HTML secrets, its all standardized, documented
etc. All you end up doing is wasting a huge load of time.


Or hide it by playing with css ;)
--
http://home.mysth.be/~timvw
Jul 17 '05 #19

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: jase | last post by:
I have put together the Google Web API with PHP, as described in O'Reilly's Google Hacks (Hack#55). However, the API only allows you to return 10 results. Hack #51 shows how to Loop around the...
44
by: john bailo | last post by:
I microcrap is buying Google -- then I want a GNU search engine ! ( Cant that decrepit creep keep his hands off of anything ? )
32
by: sandy | last post by:
I have a hobby website at: http://www.montana-riverboats.com which also resolves as: http://montana-riverboats.com ...without the www. One address has a Google page rank of three. The other...
5
by: ED | last post by:
I currently have vba code that ranks employees based on their average job time ordered by their region, zone, and job code. I currently have vba code that will cycle through a query and ranks each...
3
by: Johann Blake | last post by:
This aticle presents factual evidence that Google's PageRank, inbound links and keywords are irrelevent to your placement in the search results. It presents several case studies that show...
9
by: Ray5531 | last post by:
Sorry if this is irrelevant to this website,but I didn't find a better place to ask this question.I sent an email to google as well which I didn't recieve the answer.I'm creating a website and...
6
by: sara | last post by:
I hope someone can help with this. Our director wants to have a report that will have the departments (Retail stores) across the top, stores down the side and the RANKING of the YTD dept sales...
5
by: Chris | last post by:
I was wodering if there was a way to rank numbers in a query like this #'s Rank 100 1 99 2 98 3 98 97 5 96 6 96
2
by: Tara83 | last post by:
i've heared that there is a way or a program that links my pages in a way which will show a higher ranking result in google in other words if i link my pages according to this method my website...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.