Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Encrypt html output

Status
Not open for further replies.

NEVERSLEEP

Programmer
Apr 14, 2002
667
CA
how to encrypt cgi's html output ????
advice ?
links on topic ? (i means good ones)
using perl ?
or others languages!
thanks someone knowledge ends were
someone else knowledge starts
 
nope
i've created a crypto system for my datafiles
works well prompt for a password each time
a "correct" app wants to use file
anyway

i am serious
i am consient that this is no simple task
that why i said "maybe using other languages?";

toolkit, haven't u ever cross an ecrypted html file?
regards
someone knowledge ends were
someone else knowledge starts
 
I really do not understand the question???? 'hope this helps

If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.
 
normal html output in green

<html><body>hello</body><html>

wanted html output in red

%²B ÿ%²B ÿ% ²B ÿ%²B ÿ%²B ÿ%²B ÿ%²B ÿ% ²B ÿ%$²B ÿ%(²B ÿ%,²B ÿ%0²B ÿ%4²B ÿ%8²B ÿ%<²B ÿ%@²B ÿ%D²B ÿ%H²B ÿ%L²B ÿ%P²B ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ
[/red]
or similar
help me pleaze !
dont be affraid of toolkit's lack of faith someone knowledge ends were
someone else knowledge starts
 
neversleep - you're going to have to describe your problem, and your intended approach, more completely.

My problem in understanding your requirement is that I don't understand how anything (a browser or a web server) is going to understand your encrypted file?

What will decrypt the HTML? Mike
&quot;Experience is the comb that Nature gives us after we are bald.&quot;

Is that a haiku?
I never could get the hang
of writing those things.
 
ok mike ill try to explain better
#!perlpath
print &quot;Content-type: text/html\n\n&quot;;
print &quot;<html><body>hello Mike</body></html>&quot;;
exit;

will &quot;output in source&quot; (if u click view source u see this)
<html><body>hello Mike</body></html>
i want the &quot;output in source&quot; to be unreadable by humans
like example
%L²B ÿ%P²B ÌÌÌÌÌÌÌÌÌÌÌÌÌ
keep in mind that &quot;output&quot; use HTML JAVASCRIPT CSS
i think here its the browser how needs to be able
to read such compression

thnks alot Mike
your tips are always pertinent!
someone knowledge ends were
someone else knowledge starts
 
Yes - I agree that it's the browser that would need to be able to decrypt the html stream - i just wasn't aware that they could do that.......

Which perhaps isn't very strange, considering how much I (don't) know about HTML and the web in general.

Does this ring any bells with anyone? Mike
&quot;Experience is the comb that Nature gives us after we are bald.&quot;

Is that a haiku?
I never could get the hang
of writing those things.
 
thanks tootkit for the tip
but that not quite it
file is a .pl running on latest IIS
when submiting into a form the extention change to
something like http//by that way any wanabehackers
can download each possible html source output...
my &quot;somecgi.pl&quot; is a one file site
a sh*t load of possible output
i want to &quot;encrypt&quot; a few of them...

we could say a part of the question is
&quot;witch encryption system works with any browser?&quot;
a other part will be
&quot;how to get starting with a such task?&quot;
all this using perl if possible

bonus question:
&quot;is there an ISAPI filter that does the job out there?&quot;
someone knowledge ends were
someone else knowledge starts
 
Right, but CGI must return valid HTML to the browser, so that the page can be rendered. To my knowledge, the only code you can effectively hide is server side. I believe there are methods to obfuscate HTML via the use of Javascript, but these do not provide any meaningful security as far as I am aware.
Sorry if my first post appeared argumentative ;-)
Cheers, Neil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top