Ok, I brought this up awhile ago. Basically finding a way to replace
CFX_Image whatever. I'm closer to the answer now, but ... my half ass
knowledge in java is in the way.
With the standard CFMX JRE you can't get to the javax.imageio.ImageReader
I downloaded 'j2sdk1.4.0_01' and installed it
I ran across this article on the ImageReader class that will probably
help you. There is some nice sample code.
http://java.sun.com/products/jfc/tsc/articles/javaOne2001/600/
This one as well...although the example code seems a lot more complex.
]
Yahoo IM : morpheus
My ally is the Force, and a powerful ally it is. - Yoda
-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 11:35 AM
To: CF-Talk
Subject: Re: Idea Incubator - javax.imageio.ImageReader
I ran across this article
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 7:35 AM
To: CF-Talk
Subject: Idea Incubator - javax.imageio.ImageReader
Ok, I brought this up awhile ago. Basically finding a way to replace
CFX_Image whatever. I'm closer to the answer now, but ... my
Raymond Camden wrote:
I'd kill for a CFX/whatever that would make a thumbnail of a URL. (Or
just an image of a URL - I know making thumbnails is pretty easy.)
I would kill anybody who tried that on a server of me :)
Doing that requires stuff like parsing HTML. But also parsing javascript
and
I would kill anybody who tried that on a server of me :)
Why? This is no different then any other HTTP request. It's only an
issue if they didn't cache the result. To me, this is the same as
someone doing img src=my server. If they hit me too many times, I
stop them.
Doing that requires stuff
Raymond Camden wrote:
I'd kill for a CFX/whatever that would make a thumbnail of a URL. (Or
just an image of a URL - I know making thumbnails is pretty easy.)
http://www.gotdotnet.com/playground/services/ThumbnailGen/instructions.aspx
feel free to make a nice cfx around this.. or at least
Raymond Camden wrote:
I would kill anybody who tried that on a server of me :)
Why? This is no different then any other HTTP request. It's only an
issue if they didn't cache the result. To me, this is the same as
someone doing img src=my server. If they hit me too many times, I
stop them.
]
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 7:35 AM
To: CF-Talk
Subject: Idea Incubator - javax.imageio.ImageReader
Ok, I brought this up awhile ago. Basically finding a way to replace
CFX_Image whatever. I'm closer
Raymond Camden wrote:
I would kill anybody who tried that on a server of me :)
Why? This is no different then any other HTTP request. It's only an
issue if they didn't cache the result. To me, this is the same as
someone doing img src=my server. If they hit me too
many times, I
-577-8070
F: 415-341-8906
P: [EMAIL PROTECTED]
-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 9:44 AM
To: CF-Talk
Subject: Re: Idea Incubator - javax.imageio.ImageReader
Matt, if possible, could you talk about java code inline within a CFM
Someone just posted a link in my blog, figured I'd pass it around if
anyone else is interested in all this. I plan on checking it out tonight.
~Todd
-- Forwarded message --
Date: Thu, 18 Jul 2002 13:30:23 -0400
From: Benoit Hediard
If you want to do some simple Image
Matt
Just curious but are there any other advantages to wrapping it in a cfc?
Thanks
-Original Message-
From: Matt Liotta [mailto:[EMAIL PROTECTED]]
Sent: 18 July 2002 17:45
To: CF-Talk
Subject: RE: Idea Incubator - javax.imageio.ImageReader
The article shows you how
AM
To: CF-Talk
Subject: RE: Idea Incubator - javax.imageio.ImageReader
Matt
Just curious but are there any other advantages to wrapping it in a
cfc?
Thanks
-Original Message-
From: Matt Liotta [mailto:[EMAIL PROTECTED]]
Sent: 18 July 2002 17:45
To: CF-Talk
Subject: RE
Raymond Camden wrote:
Hosted server filesystem layout:
d:\
www\
customer1\
customer2\
If that tag is installed, customer1 can make an image of the URL
file://d:\www\customer2\ and he won't be stopped by anything.
Wow, you mean like cfhttp does?
CFHTTP does not do
Wow, you mean like cfhttp does?
CFHTTP does not do that. At least not on a shared hosting server I am
managing.
Excuse me? You must have the magical CF edition then. ;) What does your
CFHTTP do then? Does it not retrieve the HTML of a URL?
Excuse me? You must have the magical CF edition then. ;) What does your
CFHTTP do then? Does it not retrieve the HTML of a URL?
In the left corner, weighing in at 150 lbs, Raymond Camden...
grabs popcorn... waiting for the fight to begin
Ben Johnson
He's using Colf Fusion. :P
- Original Message -
From: Raymond Camden [EMAIL PROTECTED]
Date: Thursday, July 18, 2002 1:09 pm
Subject: RE: Idea Incubator - javax.imageio.ImageReader
Wow, you mean like cfhttp does?
CFHTTP does not do that. At least not on a shared hosting
Excuse me? You must have the magical CF edition then. ;)
What does your
CFHTTP do then? Does it not retrieve the HTML of a URL?
In the left corner, weighing in at 150 lbs, Raymond
Camden...
grabs popcorn... waiting for the fight to begin
Allright, I want a clean fight. There'll be none
Raymond Camden wrote:
Wow, you mean like cfhttp does?
CFHTTP does not do that. At least not on a shared hosting server I am
managing.
Excuse me? You must have the magical CF edition then. ;) What does your
CFHTTP do then? Does it not retrieve the HTML of a URL?
Try it:
cfhttp
Wow, you mean like cfhttp does?
CFHTTP does not do that. At least not on a shared hosting
server I am
managing.
Excuse me? You must have the magical CF edition then. ;) What does
your CFHTTP do then? Does it not retrieve the HTML of a URL?
Try it:
cfhttp
ally it is. - Yoda
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 3:57 PM
To: CF-Talk
Subject: RE: Idea Incubator - javax.imageio.ImageReader
Wow, you mean like cfhttp does?
CFHTTP does not do that. At least
Raymond Camden wrote:
Try it:
cfhttp url=file://d:\www\customer2\ method=get
Dude - I think we must be on different wavelengths here. CFHTTP makes a
HTTP request. Are you saying that your web server will respond to a file
url like that? No, it won't. What do you get when you run this on
Raymond Camden wrote:
Also, even if what you described actually worked - why wouldn't I just
do cffile??
cffile can be limited through Sandbox Security. Unless MM is going to
document how that works, some Java custom tag is not limited to that,
but to the priviledges of the OS user that CF
Ehhh, I didn't start about cfhttp. In the very first post I already
mentioned that the issue was local files.
I don't care what hosted customers do on remote systems, but on local
systems I want to have ways to force them to stay in and
below their own
local root.
I understand you -
Raymond Camden wrote:
I understand you - but the original issue was with using HTTP to get
html - both the imaginary CFX I imagined for URL Thumbnail generation
and cfhttp will not let me 'steal' files in other folders - as long as
they not in the web root.
I guess I'm saying - I don't
I'm not complaining, I'm just saying I wouldn't enable it
for customers.
I think the larger danger with enabling it for customers would be that they
might over-use it and tie up all the CF Server threads on a shared server.
Though most customers won't have any call to use it or know how, so
27 matches
Mail list logo