How to handle the final output page?

i want to use javascript to encrypt the whole content in html tag
and decrypt it in the browser side (in order to avoid robot to grab
the
content) . so i want to write a plugin or sth to handle the output of
my
ROR application before it is sent to the client.

anyone has any clue on how to do it? Any suggestion would be helpful,
thankyou!

You could make a robots.txt in your RAILS_ROOT/public/ directory and put
this in it:

User-agent: *
Disallow: /

On Dec 6, 2007 2:24 PM, wrb [email protected]alid wrote:

i want to use javascript to encrypt the whole content in html tag
and decrypt it in the browser side (in order to avoid robot to grab the
content) . so i want to write a plugin or sth to handle the output of my
ROR application before it is sent to the client.

anyone has any clue on how to do it? Any suggestion would be helpful,
thankyou!


Ryan B.

thanks, but how about imagining i live in a opressed country and i try
to
avoid goverment examine (by anaylize internet data stream)?
i really think javascript encryption is a good way to do it:)

2007/12/6, Ryan B. [email protected]:

Sending encrypted data over the internet from an oppressive country will
only make their government more suspicious.

Sorry, even though your country might be The Most Evil Country In The
World,
by law I cannot help you.

On Dec 6, 2007 3:21 PM, wrb [email protected] wrote:

Disallow: /

anyone has any clue on how to do it? Any suggestion would be helpful,


Ryan B.

and i wonder is there any way to allow specific search engine robot to
access my site, while avoiding unknown robot?

2007/12/6, wrb [email protected]:

in fact i don’t need full encrypted (such as SSH).
And i don’t know discussion here would violate any law, (not at least in
my
Evil Coutry.)
sigh, if there is any law problem, how about we focus on the technical
facet
of this situation

2007/12/6, Ryan B. [email protected]:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs