Search the web
Sign In
New User? Sign Up
coldfusion-howto · ColdFusion Tips Tutorial Help Questions
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 44527 - 44557 of 44584   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#44557 From: "Linda Burnside" <linda@...>
Date: Mon Nov 23, 2009 2:13 pm
Subject: RE: weird error
ihatespam22222
Offline Offline
Send Email Send Email
 
I saw an error like this when I included something twice that could only be
included once without breaking the code.



Linda



   _____

From: coldfusion-howto@yahoogroups.com
[mailto:coldfusion-howto@yahoogroups.com] On Behalf Of tonyroc
Sent: Friday, November 20, 2009 4:55 PM
To: coldfusion-howto@yahoogroups.com
Subject: [coldfusion-howto] weird error





Has anybody ever seen this before

1.0000000000000002 must be within range: ( -1 : 1 )



ColdFusion cannot determine the line of the template that caused this
error. This is often caused by an error in the exception handling subsystem.

[Non-text portions of this message have been removed]



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.709 / Virus Database: 270.14.73/2514 - Release Date: 11/20/09
03:02:00




[Non-text portions of this message have been removed]

#44556 From: "tonyroc" <tony@...>
Date: Fri Nov 20, 2009 10:42 pm
Subject: RE: Re: weird error
puppybear101
Offline Offline
Send Email Send Email
 
Thanks

-----Original Message-----
From: coldfusion-howto@yahoogroups.com
[mailto:coldfusion-howto@yahoogroups.com] On Behalf Of John
Sent: Friday, November 20, 2009 5:18 PM
To: coldfusion-howto@yahoogroups.com
Subject: [coldfusion-howto] Re: weird error

I have not - but you can isolate it in your application by putting <CFABORT>
at the start of the section you think it may be happening in and then move
the abort down farther into your code, saving and retrying until you pin
down the location.

-John


--- In coldfusion-howto@yahoogroups.com, "tonyroc" <tony@...> wrote:
>
> Has anybody ever seen this before
>
> 1.0000000000000002 must be within range: ( -1 : 1 )
>
>
>
>    ColdFusion cannot determine the line of the template that caused this
> error. This is often caused by an error in the exception handling
subsystem.
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>




------------------------------------

~~~~~~~~~
*** Yahoo's No. 1 and the biggest group of ColdFusion Developers

ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
$19.99/year. Free Setup, ASP.NET, HELM Control Panel.
http://www.hostingatoz.com. We also offer ColdFusion Reseller Hosting Plans.


Post message: coldfusion-howto@yahoogroups.com
Subscribe:  coldfusion-howto-subscribe@yahoogroups.com
Un-Subscribe:  coldfusion-howto-unsubscribe@yahoogroups.com


...
Yahoo! Groups Links





__________ Information from ESET Smart Security, version of virus signature
database 4625 (20091120) __________

The message was checked by ESET Smart Security.

http://www.eset.com

#44555 From: "John" <john@...>
Date: Fri Nov 20, 2009 10:17 pm
Subject: Re: weird error
wyntermoonwolf
Offline Offline
Send Email Send Email
 
I have not - but you can isolate it in your application by putting <CFABORT> at
the start of the section you think it may be happening in and then move the
abort down farther into your code, saving and retrying until you pin down the
location.

-John


--- In coldfusion-howto@yahoogroups.com, "tonyroc" <tony@...> wrote:
>
> Has anybody ever seen this before
>
> 1.0000000000000002 must be within range: ( -1 : 1 )
>
>
>
>    ColdFusion cannot determine the line of the template that caused this
> error. This is often caused by an error in the exception handling subsystem.
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

#44554 From: "tonyroc" <tony@...>
Date: Fri Nov 20, 2009 9:55 pm
Subject: weird error
puppybear101
Offline Offline
Send Email Send Email
 
Has anybody ever seen this before

1.0000000000000002 must be within range: ( -1 : 1 )



    ColdFusion cannot determine the line of the template that caused this
error. This is often caused by an error in the exception handling subsystem.






[Non-text portions of this message have been removed]

#44552 From: "joseph l" <raehm@...>
Date: Fri Nov 20, 2009 4:14 pm
Subject: Re: Reading Variables inside Variables?
raehm
Offline Offline
Send Email Send Email
 
Thanks, Peter.



--- In coldfusion-howto@yahoogroups.com, "Peter" <pmedv@...> wrote:
>
> HI,
> you have to fix the bug in your radio tag ,at first!
> radio buttons who are in the same group have to have the same name.
>
> There is also a quit bug in the loop for the accountid!
> What's happen if a accountID not exists?
> Pherhaps someone delete the dataset with the accountID 1
> In this Case it's better to loops over the query.
>
> You have two options, to get the right plant for the accountid
> Varaint A you loop over the formFields
> Variant B you loop against over the getaccountQuery.
>
> I have made a snippet for both. I also made a snippet for the form:
> <form name="postForm" method="post">
> <cfoutput>
>  <cfloop query="getaccounts">
> 	 #getaccounts.accountID#:
> 	 <cfloop index = "plant" from = "1" to = "6" step="1">
> 		 <INPUT TYPE=RADIO NAME="plant_#getaccounts.accountid#" VALUE="#plant#"
alt="#plant#" title="#plant#">
> 	 </cfloop><br>
>
>
>  </cfloop>
>
>
> </cfoutput>
> <input type="submit" value="send">
> </form>
>
> <cfif cgi.REQUEST_METHOD is "post">
>  <cfdump var="#form#">
>  <cfoutput>
>  <h1>Variante A</h1>
>  <cfloop collection="#form#" item="formname">
> 	 <cfif listlen(formname,"_") is 2 and listfirst(formname,"_") is "plant">
> 		 AccountID #listgetat(formname,2,"_")# has plant #form[formname]#<br>
> 	 </cfif>
>  </cfloop>
>  <h1>Variante B</h1>
>  <cfloop query="getaccounts">
> 	 AccountID #getaccounts.accountid#
> 	 <cfif structkeyExists(form,"plant_#getaccounts.accountid#")>
> 		 has plant #form["plant_#getaccounts.accountid#"]#
> 	 <cfelse>
> 		 hasn't a plant_ID!
> 	 </cfif><br>
>  </cfloop>
>  </cfoutput>
> </cfif>
>

#44551 From: "Peter" <pmedv@...>
Date: Fri Nov 20, 2009 2:24 pm
Subject: Re: Reading Variables inside Variables?
pmedv@ymail.com
Offline Offline
Send Email Send Email
 
HI,
you have to fix the bug in your radio tag ,at first!
radio buttons who are in the same group have to have the same name.

There is also a quit bug in the loop for the accountid!
What's happen if a accountID not exists?
Pherhaps someone delete the dataset with the accountID 1
In this Case it's better to loops over the query.

You have two options, to get the right plant for the accountid
Varaint A you loop over the formFields
Variant B you loop against over the getaccountQuery.

I have made a snippet for both. I also made a snippet for the form:
<form name="postForm" method="post">
<cfoutput>
	 <cfloop query="getaccounts">
		 #getaccounts.accountID#:
		 <cfloop index = "plant" from = "1" to = "6" step="1">
			 <INPUT TYPE=RADIO NAME="plant_#getaccounts.accountid#" VALUE="#plant#"
alt="#plant#" title="#plant#">
		 </cfloop><br>


	 </cfloop>


</cfoutput>
<input type="submit" value="send">
</form>

<cfif cgi.REQUEST_METHOD is "post">
	 <cfdump var="#form#">
	 <cfoutput>
	 <h1>Variante A</h1>
	 <cfloop collection="#form#" item="formname">
		 <cfif listlen(formname,"_") is 2 and listfirst(formname,"_") is "plant">
			 AccountID #listgetat(formname,2,"_")# has plant #form[formname]#<br>
		 </cfif>
	 </cfloop>
	 <h1>Variante B</h1>
	 <cfloop query="getaccounts">
		 AccountID #getaccounts.accountid#
		 <cfif structkeyExists(form,"plant_#getaccounts.accountid#")>
			 has plant #form["plant_#getaccounts.accountid#"]#
		 <cfelse>
			 hasn't a plant_ID!
		 </cfif><br>
	 </cfloop>
	 </cfoutput>
</cfif>

#44550 From: "John" <john@...>
Date: Thu Nov 19, 2009 11:24 pm
Subject: Re: Reading Variables inside Variables?
wyntermoonwolf
Offline Offline
Send Email Send Email
 
Reference form.formfields (I believe that's what it's called, <cfdump
var=#form#> if not)

Or....

<cfloop index = "accountid" from = "1" to = "#getaccounts.recordcount#">
<cfloop index = "plant" from = "1" to = "6">

<CFSET key="plant#plant#_#accountid#">
#form[key]#

</cfloop>
</cfloop>



--- In coldfusion-howto@yahoogroups.com, "joseph l" <raehm@...> wrote:
>
> I have 750 accountid's that are each assigned to one of six mfg. plantid's.
>
> Given that radio button names must be unique within a group, I have:
>
> <cfloop index = "accountid" from = "1" to = "#getaccounts.recordcount#">
> <cfloop index = "plant" from = "1" to = "6">
>
>  <INPUT TYPE=RADIO NAME="plant#plant#_#accountid#" VALUE="1">
>  <INPUT TYPE=RADIO NAME="plant#plant#_#accountid#" VALUE="2">
>  <INPUT TYPE=RADIO NAME="plant#plant#_#accountid#" VALUE="3">
>  <INPUT TYPE=RADIO NAME="plant#plant#_#accountid#" VALUE="4">
>  <INPUT TYPE=RADIO NAME="plant#plant#_#accountid#" VALUE="5">
>  <INPUT TYPE=RADIO NAME="plant#plant#_#accountid#" VALUE="6">
>
> </cfloop>
> </cfloop>
>
> How do I read the output????
>
> #form.plant[1-6]_[1-750]#
>
> ????
>

#44549 From: "joseph l" <raehm@...>
Date: Thu Nov 19, 2009 11:17 pm
Subject: Reading Variables inside Variables?
raehm
Offline Offline
Send Email Send Email
 
I have 750 accountid's that are each assigned to one of six mfg. plantid's.

Given that radio button names must be unique within a group, I have:

<cfloop index = "accountid" from = "1" to = "#getaccounts.recordcount#">
<cfloop index = "plant" from = "1" to = "6">

	 <INPUT TYPE=RADIO NAME="plant#plant#_#accountid#" VALUE="1">
	 <INPUT TYPE=RADIO NAME="plant#plant#_#accountid#" VALUE="2">
	 <INPUT TYPE=RADIO NAME="plant#plant#_#accountid#" VALUE="3">
	 <INPUT TYPE=RADIO NAME="plant#plant#_#accountid#" VALUE="4">
	 <INPUT TYPE=RADIO NAME="plant#plant#_#accountid#" VALUE="5">
	 <INPUT TYPE=RADIO NAME="plant#plant#_#accountid#" VALUE="6">

</cfloop>
</cfloop>

How do I read the output????

#form.plant[1-6]_[1-750]#

????

#44548 From: "joseph l" <raehm@...>
Date: Wed Nov 18, 2009 5:25 pm
Subject: cfloop question.
raehm
Offline Offline
Send Email Send Email
 
Given that radio names must be unique per grouping, I need a method for parsing
and querying the accountid from a given radio button name, as in:

<cfif plantid eq 1>
&nbsp;&nbsp;&nbsp;&nbsp;
	 <INPUT ID="group1" TYPE=RADIO NAME="plant1_#accountid#" VALUE="1" checked>
	 <INPUT ID="group1" TYPE=RADIO NAME="plant1_#accountid#" VALUE="2" >
	 <INPUT ID="group1" TYPE=RADIO NAME="plant1_#accountid#" VALUE="3">
</cfif>
<cfif plantid eq 2>
&nbsp;&nbsp;&nbsp;&nbsp;
	 <INPUT ID="group2" TYPE=RADIO NAME="plant2_#accountid#" VALUE="1" checked>
	 <INPUT ID="group2" TYPE=RADIO NAME="plant2_#accountid#" VALUE="2" >
	 <INPUT ID="group2" TYPE=RADIO NAME="plant2_#accountid#" VALUE="3">
</cfif>
<cfif plantid eq 3>
&nbsp;&nbsp;&nbsp;&nbsp;
	 <INPUT ID="group3" TYPE=RADIO NAME="plant3_#accountid#" VALUE="1" checked>
	 <INPUT ID="group3" TYPE=RADIO NAME="plant3_#accountid#" VALUE="2" >
	 <INPUT ID="group3" TYPE=RADIO NAME="plant3_#accountid#" VALUE="3">
</cfif>

<cfset parsed_accountid = [parse #plant(1,2 or 3)_#accountid# to "accountid"]>

	 <CFQUERY
	 Name="getaccounts"
	 Datasource="#sales.dsn#"  >
	 SELECT
	  *
	 FROM accounts
	 where accountid = #parsed_accountid#
	 </CFQUERY>

Thanks!

#44547 From: "Linda Burnside" <linda@...>
Date: Wed Nov 18, 2009 1:24 pm
Subject: RE: limit access to Coldfusion on IIS server
ihatespam22222
Offline Offline
Send Email Send Email
 
Casey,



That looked promising, but I have CF 8. When I checked on sandbox security,
it is only available in the enterprise version - not in my version.  Thanks.



Linda





   _____

From: coldfusion-howto@yahoogroups.com
[mailto:coldfusion-howto@yahoogroups.com] On Behalf Of Casey Dougall
Sent: Tuesday, November 17, 2009 6:16 PM
To: coldfusion-howto@yahoogroups.com
Subject: [coldfusion-howto] limit access to Coldfusion on IIS server





You can limit datasources by using SandBox Security. I believe this was a
v7.0 and up option on Adobe Coldfusion.

http://livedocs.
<http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/
wwhelp.htm?context=ColdFusion_Documentation&file=00001766.htm>
adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?contex
t=ColdFusion_Documentation&file=00001766.htm

By default, ColdFusion pages in this sandbox can access all data sources.

*Note: * If <<ALL DATASOURCES>> is in the Enabled Datasources column, any
data source that you add when creating this sandbox is enabled. If you move
<<ALL DATASOURCES>> to the Disabled Datasources column, any new data source
is disabled.
Click the CFTags tab.

So it could still take some effort to make sure ALL of your websites are
setup correctly, because you need to make sure other areas are locked down
correctly like tag execution along with file access etc. But it's a much
more secure route to go.

~~

Casey

[Non-text portions of this message have been removed]



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.707 / Virus Database: 270.14.63/2500 - Release Date: 11/17/09
14:26:00




[Non-text portions of this message have been removed]

#44546 From: Casey Dougall <casey.dougall@...>
Date: Tue Nov 17, 2009 11:16 pm
Subject: limit access to Coldfusion on IIS server
casey_dougall
Offline Offline
Send Email Send Email
 
You can limit datasources by using SandBox Security. I believe this was a
v7.0 and up option on Adobe Coldfusion.

http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhel\
p.htm?context=ColdFusion_Documentation&file=00001766.htm

By default, ColdFusion pages in this sandbox can access all data sources.

*Note: *  If <<ALL DATASOURCES>> is in the Enabled Datasources column, any
data source that you add when creating this sandbox is enabled. If you move
<<ALL DATASOURCES>> to the Disabled Datasources column, any new data source
is disabled.
Click the CFTags tab.

So it could still take some effort to make sure ALL of your websites are
setup correctly, because you need to make sure other areas are locked down
correctly like tag execution along with file access etc. But it's a much
more secure route to go.

~~

Casey


[Non-text portions of this message have been removed]

#44545 From: John Bartlett <john@...>
Date: Tue Nov 17, 2009 11:10 pm
Subject: Re: limit access to Coldfusion on IIS server
wyntermoonwolf
Offline Offline
Send Email Send Email
 
I'd put them in an Application file and then reference the variables in
the CFQUERY tags.  You could even do a global search-n-replace of
"<cfquery" with:
<CFQUERY username="#Request.QUserid#" password="#Request.QPassword#"
to make things go easier.

Linda Burnside wrote:
> At the moment, the username/password is specified; however, this is an
> interesting idea.  Is it possible to specify the username/password for the
> data sources in an Application.cfc file?  I've got so much code that I would
> have to rewrite that it makes it virtually impossible to do it if I have to
> remove the usernames / password from CFIDE/administrator and then put them
> into each query.
>
>
>
> Linda
>
>
>
>
>
>   _____
>
> From: coldfusion-howto@yahoogroups.com
> [mailto:coldfusion-howto@yahoogroups.com] On Behalf Of John Bartlett
> Sent: Tuesday, November 17, 2009 5:27 PM
> To: coldfusion-howto@yahoogroups.com
> Subject: Re: [coldfusion-howto] limit access to Coldfusion on IIS server
>
>
>
>
>
> If all the data sources do not have the User ID and Password configured,
> the CFM templates will be require to specify those values in order to
> make the database connection.
>
> -John
>
> Linda Burnside wrote:
>
>> I have a few websites which I host which are not Coldfusion sites. In
>> general, we provide a content management solution, and our hosted sites do
>> not access code or directly ftp anything. We do have a handful which work
>> like traditionally hosted sites. I want to limit their access to
>> Coldfusion. Specifically, I want to ensure that they could not tap into
>> database resources which are available to other sites.
>>
>>
>>
>> This may be an IIS question, but I'm not sure where to start to disable CF
>> for these sites.
>>
>>
>>
>> Linda
>>
>>
>>
>>
>>
>> [Non-text portions of this message have been removed]
>>
>>
>>
>> ------------------------------------
>>
>> ~~~~~~~~~
>> *** Yahoo's No. 1 and the biggest group of ColdFusion Developers
>>
>> ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
>>
> $19.99/year. Free Setup, ASP.NET, HELM Control Panel. http://www.hostinga
> <http://www.hostingatoz.com.> toz.com. We also offer ColdFusion Reseller
> Hosting Plans.
>
>> Post message: coldfusion-howto@
>>
> <mailto:coldfusion-howto%40yahoogroups.com> yahoogroups.com
>
>> Subscribe: coldfusion-howto-
>>
> <mailto:coldfusion-howto-subscribe%40yahoogroups.com>
> subscribe@yahoogroups.com
>
>> Un-Subscribe: coldfusion-howto-
>>
> <mailto:coldfusion-howto-unsubscribe%40yahoogroups.com>
> unsubscribe@yahoogroups.com
>
>> ...
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>
> [Non-text portions of this message have been removed]
>
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.707 / Virus Database: 270.14.63/2500 - Release Date: 11/17/09
> 02:40:00
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> ~~~~~~~~~
> *** Yahoo's No. 1 and the biggest group of ColdFusion Developers
>
> ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
$19.99/year. Free Setup, ASP.NET, HELM Control Panel.
http://www.hostingatoz.com. We also offer ColdFusion Reseller Hosting Plans.
>
> Post message: coldfusion-howto@yahoogroups.com
> Subscribe:  coldfusion-howto-subscribe@yahoogroups.com
> Un-Subscribe:  coldfusion-howto-unsubscribe@yahoogroups.com
>
>
> ...
> Yahoo! Groups Links
>
>
>
> .
>
>


[Non-text portions of this message have been removed]

#44544 From: "Linda Burnside" <linda@...>
Date: Tue Nov 17, 2009 10:49 pm
Subject: RE: limit access to Coldfusion on IIS server
ihatespam22222
Offline Offline
Send Email Send Email
 
At the moment, the username/password is specified; however, this is an
interesting idea.  Is it possible to specify the username/password for the
data sources in an Application.cfc file?  I've got so much code that I would
have to rewrite that it makes it virtually impossible to do it if I have to
remove the usernames / password from CFIDE/administrator and then put them
into each query.



Linda





   _____

From: coldfusion-howto@yahoogroups.com
[mailto:coldfusion-howto@yahoogroups.com] On Behalf Of John Bartlett
Sent: Tuesday, November 17, 2009 5:27 PM
To: coldfusion-howto@yahoogroups.com
Subject: Re: [coldfusion-howto] limit access to Coldfusion on IIS server





If all the data sources do not have the User ID and Password configured,
the CFM templates will be require to specify those values in order to
make the database connection.

-John

Linda Burnside wrote:
> I have a few websites which I host which are not Coldfusion sites. In
> general, we provide a content management solution, and our hosted sites do
> not access code or directly ftp anything. We do have a handful which work
> like traditionally hosted sites. I want to limit their access to
> Coldfusion. Specifically, I want to ensure that they could not tap into
> database resources which are available to other sites.
>
>
>
> This may be an IIS question, but I'm not sure where to start to disable CF
> for these sites.
>
>
>
> Linda
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> ~~~~~~~~~
> *** Yahoo's No. 1 and the biggest group of ColdFusion Developers
>
> ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
$19.99/year. Free Setup, ASP.NET, HELM Control Panel. http://www.hostinga
<http://www.hostingatoz.com.> toz.com. We also offer ColdFusion Reseller
Hosting Plans.
>
> Post message: coldfusion-howto@
<mailto:coldfusion-howto%40yahoogroups.com> yahoogroups.com
> Subscribe: coldfusion-howto-
<mailto:coldfusion-howto-subscribe%40yahoogroups.com>
subscribe@yahoogroups.com
> Un-Subscribe: coldfusion-howto-
<mailto:coldfusion-howto-unsubscribe%40yahoogroups.com>
unsubscribe@yahoogroups.com
>
>
> ...
> Yahoo! Groups Links
>
>
>
>
>

[Non-text portions of this message have been removed]



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.707 / Virus Database: 270.14.63/2500 - Release Date: 11/17/09
02:40:00




[Non-text portions of this message have been removed]

#44543 From: John Bartlett <john@...>
Date: Tue Nov 17, 2009 10:27 pm
Subject: Re: limit access to Coldfusion on IIS server
wyntermoonwolf
Offline Offline
Send Email Send Email
 
If all the data sources do not have the User ID and Password configured,
the CFM templates will be require to specify those values in order to
make the database connection.

-John


Linda Burnside wrote:
> I have a few websites which I host which are not Coldfusion sites.  In
> general, we provide a content management solution, and our hosted sites do
> not access code or directly ftp anything.  We do have a handful which work
> like traditionally hosted sites.  I want to limit their access to
> Coldfusion.  Specifically, I want to ensure that they could not tap into
> database resources which are available to other sites.
>
>
>
> This may be an IIS question, but I'm not sure where to start to disable CF
> for these sites.
>
>
>
> Linda
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> ~~~~~~~~~
> *** Yahoo's No. 1 and the biggest group of ColdFusion Developers
>
> ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
$19.99/year. Free Setup, ASP.NET, HELM Control Panel.
http://www.hostingatoz.com. We also offer ColdFusion Reseller Hosting Plans.
>
> Post message: coldfusion-howto@yahoogroups.com
> Subscribe:  coldfusion-howto-subscribe@yahoogroups.com
> Un-Subscribe:  coldfusion-howto-unsubscribe@yahoogroups.com
>
>
> ...
> Yahoo! Groups Links
>
>
>
>
>


[Non-text portions of this message have been removed]

#44542 From: "Linda Burnside" <linda@...>
Date: Tue Nov 17, 2009 3:33 pm
Subject: limit access to Coldfusion on IIS server
ihatespam22222
Offline Offline
Send Email Send Email
 
I have a few websites which I host which are not Coldfusion sites.  In
general, we provide a content management solution, and our hosted sites do
not access code or directly ftp anything.  We do have a handful which work
like traditionally hosted sites.  I want to limit their access to
Coldfusion.  Specifically, I want to ensure that they could not tap into
database resources which are available to other sites.



This may be an IIS question, but I'm not sure where to start to disable CF
for these sites.



Linda





[Non-text portions of this message have been removed]

#44541 From: "joseph l" <raehm@...>
Date: Fri Nov 13, 2009 3:55 pm
Subject: Re: parsing full names into first and last name strings
raehm
Offline Offline
Send Email Send Email
 
Thanks much!

--- In coldfusion-howto@yahoogroups.com, Mike McMonagle <mike.mcmonagle@...>
wrote:
>
> It gets worse when you think that some people have 2 forenames as well:
>
> Carol Ann
> Ann Marie
>
> etc.
>
> Not everyone hyphenates them.
>
> Plus beware that
>
> 2009/11/13 Mark Bureau <mark@...>
>
> >
> >
> > It is fairly simple but of course, you will run into instances where the
> > last name is two names (can't think of any examples, but O Brien without
> > the
> > apostrophe comes to mind or any name with 'van' come to mind). Then it can
> > become tricky... Of course then you also have to consider the "Jr. II,
> > III" suffixes...
> >
> > Perhaps this is the easiest way save the exceptions to the rules....
> >
> > <cfscript>
> > if (listLen(varName, " ") is 2)
> > {
> > fName = listFirst(varName," ");
> > lName = listLast(varName, " ");
> > }
> > else
> > {
> > exception code goes here.
> > }
> >
> > </cfscript>
> >
> > ----- Original Message -----
> > From: "joseph l" <raehm@... <raehm%40yahoo.com>>
> > To: <coldfusion-howto@yahoogroups.com <coldfusion-howto%40yahoogroups.com>
> > >
> > Sent: Friday, November 13, 2009 9:31 AM
> > Subject: [coldfusion-howto] parsing full names into first and last name
> > strings
> >
> > Anyone have any code for doing this?
> >
> > Thanks!
> >
> > Raehm
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>

#44540 From: "joseph l" <raehm@...>
Date: Fri Nov 13, 2009 3:56 pm
Subject: Re: parsing full names into first and last name strings
raehm
Offline Offline
Send Email Send Email
 
Thanks!

--- In coldfusion-howto@yahoogroups.com, Mike McMonagle <mike.mcmonagle@...>
wrote:
>
> Okay you can shoot me for this, but beware that its common in some Asian
> cultures to put the family name first as this is more important.
>
> :-)
>
> Nothing like human nature to get in the way of sensible logic.
>
> Mike
>
> 2009/11/13 Hank Miller <hankcfman@...>
>
> >
> >
> > I guess I should check my code before posting it. This was tested.
> >
> > <cfscript>
> >  varName = "Charles H. Miller Jr.";
> >
> >  // A list of possible suffixes
> >  varSuffixNames = "Jr,Sr,I,II,III,PHD,ESQ";
> >
> >  // Put the name into an array
> >  arrName = listToArray(varName, " ");
> >
> >  // Make sure that the array is 2 elements in length
> >  if(arrayLen(arrName) gt 1)
> >  {
> >   firstName = arrName[1];
> >
> >   lastName = arrName[arrayLen(arrName)];
> >   // check for suffix (remove periods ex. (Jr.))
> >   // the array has to be greater 2
> >   if(listFindNoCase(varSuffixNames, rePlaceNoCase(lastName, ".", "",
> > "All"))
> >
> >    and arrayLen(arrName) gt 2)
> >     lastName = arrName[arrayLen(arrName) -1];
> >  }
> >  else
> >  {
> >   //error code here
> >  }
> > </cfscript>
> > <cfoutput>
> >  #firstName# #lastName#
> > </cfoutput>
> >  -hankcfman
> >
> > ________________________________
> > From: Hank Miller <hankcfman@... <hankcfman%40yahoo.com>>
> >
> > To: coldfusion-howto@yahoogroups.com <coldfusion-howto%40yahoogroups.com>
> > Sent: Fri, November 13, 2009 8:09:08 AM
> > Subject: Re: [coldfusion-howto] parsing full names into first and last name
> > strings
> >
> >
> > Here is one way
> >
> > <cfscript>
> >  // A list of possible suffixes
> >  varSuffixNames = "Jr,Sr,I,II,III,PHD,ESQ";
> >
> >  // Put the name into an array
> >  arrName = listToArray(varName, " ");
> >
> >  // Make sure that the array is 2 elements in length
> >  if(arrayLen(arrName) gt 1)
> >  {
> >   firstName = arrName[0];
> >   lastName = arrName[arrayLen(arrName)];
> >   // check for suffix (remove periods ex. (Jr.))
> >   // the array has to be greater 2
> >   if(listFindNoCase(varSuffixNames, lastName)
> >    and arrayLen(arrName) gt 2)
> >     lastName = arrName[arrayLen(arrName) -1];
> >  }
> >  else
> >  {
> >   error code here
> >  }
> > </cfscript>
> >  -hankcfman
> >
> > ________________________________
> > From: joseph l <raehm@... <raehm%40yahoo.com>>
> > To: coldfusion-howto@yahoogroups.com <coldfusion-howto%40yahoogroups.com>
> > Sent: Fri, November 13, 2009 7:31:22 AM
> > Subject: [coldfusion-howto] parsing full names into first and last name
> > strings
> >
> > Anyone have any code for doing this?
> >
> > Thanks!
> >
> > Raehm
> >
> > ------------------------------------
> >
> > ~~~~~~~~~
> > *** Yahoo's No. 1 and the biggest group of ColdFusion Developers
> >
> > ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
> > $19.99/year. Free Setup, ASP.NET, HELM Control Panel.
> > http://www.hostingatoz.com. We also offer ColdFusion Reseller Hosting
> > Plans.
> >
> > Post message:
coldfusion-howto@yahoogroups.com<coldfusion-howto%40yahoogroups.com>
> > Subscribe: 
coldfusion-howto-subscribe@yahoogroups.com<coldfusion-howto-subscribe%40yahoogro\
ups.com>
> >
> > Un-Subscribe: 
coldfusion-howto-unsubscribe@yahoogroups.com<coldfusion-howto-unsubscribe%40yaho\
ogroups.com>
> >
> >
> > ...
> > Yahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > ~~~~~~~~~
> > *** Yahoo's No. 1 and the biggest group of ColdFusion Developers
> >
> > ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
> > $19.99/year. Free Setup, ASP.NET, HELM Control Panel.
> > http://www.hostingatoz.com. We also offer ColdFusion Reseller Hosting
> > Plans.
> >
> > Post message:
coldfusion-howto@yahoogroups.com<coldfusion-howto%40yahoogroups.com>
> > Subscribe: 
coldfusion-howto-subscribe@yahoogroups.com<coldfusion-howto-subscribe%40yahoogro\
ups.com>
> >
> > Un-Subscribe: 
coldfusion-howto-unsubscribe@yahoogroups.com<coldfusion-howto-unsubscribe%40yaho\
ogroups.com>
> >
> >
> > ...
> > Yahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>

#44539 From: Mike McMonagle <mike.mcmonagle@...>
Date: Fri Nov 13, 2009 3:32 pm
Subject: Re: parsing full names into first and last name strings
mike_mcmonagle
Offline Offline
Send Email Send Email
 
Okay you can shoot me for this, but beware that its common in some Asian
cultures to put the family name first as this is more important.

:-)

Nothing like human nature to get in the way of sensible logic.

Mike

2009/11/13 Hank Miller <hankcfman@...>

>
>
> I guess I should check my code before posting it. This was tested.
>
> <cfscript>
>  varName = "Charles H. Miller Jr.";
>
>  // A list of possible suffixes
>  varSuffixNames = "Jr,Sr,I,II,III,PHD,ESQ";
>
>  // Put the name into an array
>  arrName = listToArray(varName, " ");
>
>  // Make sure that the array is 2 elements in length
>  if(arrayLen(arrName) gt 1)
>  {
>   firstName = arrName[1];
>
>   lastName = arrName[arrayLen(arrName)];
>   // check for suffix (remove periods ex. (Jr.))
>   // the array has to be greater 2
>   if(listFindNoCase(varSuffixNames, rePlaceNoCase(lastName, ".", "",
> "All"))
>
>    and arrayLen(arrName) gt 2)
>     lastName = arrName[arrayLen(arrName) -1];
>  }
>  else
>  {
>   //error code here
>  }
> </cfscript>
> <cfoutput>
>  #firstName# #lastName#
> </cfoutput>
>  -hankcfman
>
> ________________________________
> From: Hank Miller <hankcfman@... <hankcfman%40yahoo.com>>
>
> To: coldfusion-howto@yahoogroups.com <coldfusion-howto%40yahoogroups.com>
> Sent: Fri, November 13, 2009 8:09:08 AM
> Subject: Re: [coldfusion-howto] parsing full names into first and last name
> strings
>
>
> Here is one way
>
> <cfscript>
>  // A list of possible suffixes
>  varSuffixNames = "Jr,Sr,I,II,III,PHD,ESQ";
>
>  // Put the name into an array
>  arrName = listToArray(varName, " ");
>
>  // Make sure that the array is 2 elements in length
>  if(arrayLen(arrName) gt 1)
>  {
>   firstName = arrName[0];
>   lastName = arrName[arrayLen(arrName)];
>   // check for suffix (remove periods ex. (Jr.))
>   // the array has to be greater 2
>   if(listFindNoCase(varSuffixNames, lastName)
>    and arrayLen(arrName) gt 2)
>     lastName = arrName[arrayLen(arrName) -1];
>  }
>  else
>  {
>   error code here
>  }
> </cfscript>
>  -hankcfman
>
> ________________________________
> From: joseph l <raehm@... <raehm%40yahoo.com>>
> To: coldfusion-howto@yahoogroups.com <coldfusion-howto%40yahoogroups.com>
> Sent: Fri, November 13, 2009 7:31:22 AM
> Subject: [coldfusion-howto] parsing full names into first and last name
> strings
>
> Anyone have any code for doing this?
>
> Thanks!
>
> Raehm
>
> ------------------------------------
>
> ~~~~~~~~~
> *** Yahoo's No. 1 and the biggest group of ColdFusion Developers
>
> ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
> $19.99/year. Free Setup, ASP.NET, HELM Control Panel.
> http://www.hostingatoz.com. We also offer ColdFusion Reseller Hosting
> Plans.
>
> Post message:
coldfusion-howto@yahoogroups.com<coldfusion-howto%40yahoogroups.com>
> Subscribe: 
coldfusion-howto-subscribe@yahoogroups.com<coldfusion-howto-subscribe%40yahoogro\
ups.com>
>
> Un-Subscribe: 
coldfusion-howto-unsubscribe@yahoogroups.com<coldfusion-howto-unsubscribe%40yaho\
ogroups.com>
>
>
> ...
> Yahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> ~~~~~~~~~
> *** Yahoo's No. 1 and the biggest group of ColdFusion Developers
>
> ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
> $19.99/year. Free Setup, ASP.NET, HELM Control Panel.
> http://www.hostingatoz.com. We also offer ColdFusion Reseller Hosting
> Plans.
>
> Post message:
coldfusion-howto@yahoogroups.com<coldfusion-howto%40yahoogroups.com>
> Subscribe: 
coldfusion-howto-subscribe@yahoogroups.com<coldfusion-howto-subscribe%40yahoogro\
ups.com>
>
> Un-Subscribe: 
coldfusion-howto-unsubscribe@yahoogroups.com<coldfusion-howto-unsubscribe%40yaho\
ogroups.com>
>
>
> ...
> Yahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
>
>


[Non-text portions of this message have been removed]

#44538 From: Hank Miller <hankcfman@...>
Date: Fri Nov 13, 2009 3:20 pm
Subject: Re: parsing full names into first and last name strings
hankcfman
Online Now Online Now
Send Email Send Email
 
I guess I should check my code before posting it. This was tested.

<cfscript>
 varName = "Charles H. Miller Jr.";
 // A list of possible suffixes
 varSuffixNames = "Jr,Sr,I,II,III,PHD,ESQ";
 
 // Put the name into an array
 arrName = listToArray(varName, " ");
 
 // Make sure that the array is 2 elements in length
 if(arrayLen(arrName) gt 1)
 {
  firstName = arrName[1];
  lastName = arrName[arrayLen(arrName)];
  // check for suffix (remove periods ex. (Jr.))
  // the array has to be greater 2
  if(listFindNoCase(varSuffixNames, rePlaceNoCase(lastName, ".", "", "All"))
   and arrayLen(arrName) gt 2)
    lastName = arrName[arrayLen(arrName) -1];
 }
 else
 {
  //error code here
 }
</cfscript>
<cfoutput>
 #firstName# #lastName#
</cfoutput>
 -hankcfman




________________________________
From: Hank Miller <hankcfman@...>
To: coldfusion-howto@yahoogroups.com
Sent: Fri, November 13, 2009 8:09:08 AM
Subject: Re: [coldfusion-howto] parsing full names into first and last name
strings

Here is one way

<cfscript>
 // A list of possible suffixes
 varSuffixNames = "Jr,Sr,I,II,III,PHD,ESQ";
 
 // Put the name into an array
 arrName = listToArray(varName, " ");
 
 // Make sure that the array is 2 elements in length
 if(arrayLen(arrName) gt 1)
 {
  firstName = arrName[0];
  lastName = arrName[arrayLen(arrName)];
  // check for suffix (remove periods ex. (Jr.))
  // the array has to be greater 2
  if(listFindNoCase(varSuffixNames, lastName)
   and arrayLen(arrName) gt 2)
    lastName = arrName[arrayLen(arrName) -1];
 }
 else
 {
  error code here
 }
</cfscript>
 -hankcfman




________________________________
From: joseph l <raehm@...>
To: coldfusion-howto@yahoogroups.com
Sent: Fri, November 13, 2009 7:31:22 AM
Subject: [coldfusion-howto] parsing full names into first and last name strings

Anyone have any code for doing this?

Thanks!

Raehm



------------------------------------

~~~~~~~~~
*** Yahoo's No. 1 and the biggest group of ColdFusion Developers

ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
$19.99/year. Free Setup, ASP.NET, HELM Control Panel.
http://www.hostingatoz.com. We also offer ColdFusion Reseller Hosting Plans.

Post message: coldfusion-howto@yahoogroups.com
Subscribe:  coldfusion-howto-subscribe@yahoogroups.com 
Un-Subscribe:  coldfusion-howto-unsubscribe@yahoogroups.com 


...
Yahoo! Groups Links



[Non-text portions of this message have been removed]



------------------------------------

~~~~~~~~~
*** Yahoo's No. 1 and the biggest group of ColdFusion Developers

ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
$19.99/year. Free Setup, ASP.NET, HELM Control Panel.
http://www.hostingatoz.com. We also offer ColdFusion Reseller Hosting Plans.

Post message: coldfusion-howto@yahoogroups.com
Subscribe:  coldfusion-howto-subscribe@yahoogroups.com 
Un-Subscribe:  coldfusion-howto-unsubscribe@yahoogroups.com 


...
Yahoo! Groups Links



[Non-text portions of this message have been removed]

#44537 From: Hank Miller <hankcfman@...>
Date: Fri Nov 13, 2009 3:09 pm
Subject: Re: parsing full names into first and last name strings
hankcfman
Online Now Online Now
Send Email Send Email
 
Here is one way

<cfscript>
 // A list of possible suffixes
 varSuffixNames = "Jr,Sr,I,II,III,PHD,ESQ";
 
 // Put the name into an array
 arrName = listToArray(varName, " ");
 
 // Make sure that the array is 2 elements in length
 if(arrayLen(arrName) gt 1)
 {
  firstName = arrName[0];
  lastName = arrName[arrayLen(arrName)];
  // check for suffix (remove periods ex. (Jr.))
  // the array has to be greater 2
  if(listFindNoCase(varSuffixNames, lastName)
   and arrayLen(arrName) gt 2)
    lastName = arrName[arrayLen(arrName) -1];
 }
 else
 {
  error code here
 }
</cfscript>
 -hankcfman




________________________________
From: joseph l <raehm@...>
To: coldfusion-howto@yahoogroups.com
Sent: Fri, November 13, 2009 7:31:22 AM
Subject: [coldfusion-howto] parsing full names into first and last name strings

Anyone have any code for doing this?

Thanks!

Raehm



------------------------------------

~~~~~~~~~
*** Yahoo's No. 1 and the biggest group of ColdFusion Developers

ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
$19.99/year. Free Setup, ASP.NET, HELM Control Panel.
http://www.hostingatoz.com. We also offer ColdFusion Reseller Hosting Plans.

Post message: coldfusion-howto@yahoogroups.com
Subscribe:  coldfusion-howto-subscribe@yahoogroups.com 
Un-Subscribe:  coldfusion-howto-unsubscribe@yahoogroups.com 


...
Yahoo! Groups Links



[Non-text portions of this message have been removed]

#44536 From: Mike McMonagle <mike.mcmonagle@...>
Date: Fri Nov 13, 2009 2:58 pm
Subject: Re: parsing full names into first and last name strings
mike_mcmonagle
Offline Offline
Send Email Send Email
 
It gets worse when you think that some people have 2 forenames as well:

Carol Ann
Ann Marie

etc.

Not everyone hyphenates them.

Plus beware that

2009/11/13 Mark Bureau <mark@...>

>
>
> It is fairly simple but of course, you will run into instances where the
> last name is two names (can't think of any examples, but O Brien without
> the
> apostrophe comes to mind or any name with 'van' come to mind). Then it can
> become tricky... Of course then you also have to consider the "Jr. II,
> III" suffixes...
>
> Perhaps this is the easiest way save the exceptions to the rules....
>
> <cfscript>
> if (listLen(varName, " ") is 2)
> {
> fName = listFirst(varName," ");
> lName = listLast(varName, " ");
> }
> else
> {
> exception code goes here.
> }
>
> </cfscript>
>
> ----- Original Message -----
> From: "joseph l" <raehm@... <raehm%40yahoo.com>>
> To: <coldfusion-howto@yahoogroups.com <coldfusion-howto%40yahoogroups.com>
> >
> Sent: Friday, November 13, 2009 9:31 AM
> Subject: [coldfusion-howto] parsing full names into first and last name
> strings
>
> Anyone have any code for doing this?
>
> Thanks!
>
> Raehm
>
>
>


[Non-text portions of this message have been removed]

#44535 From: "Mark Bureau" <mark@...>
Date: Fri Nov 13, 2009 2:41 pm
Subject: Re: parsing full names into first and last name strings
bu9418
Offline Offline
Send Email Send Email
 
It is fairly simple but of course, you will run into instances where the
last name is two names (can't think of any examples, but O Brien without the
apostrophe comes to mind or any name with 'van' come to mind).  Then it can
become tricky...   Of course then you also have to consider the "Jr.  II,
III" suffixes...

Perhaps this is the easiest way save the exceptions to the rules....

<cfscript>
     if (listLen(varName, " ") is 2)
{
         fName = listFirst(varName," ");
         lName = listLast(varName, " ");
}
     else
{
     exception code goes here.
}



</cfscript>
----- Original Message -----
From: "joseph l" <raehm@...>
To: <coldfusion-howto@yahoogroups.com>
Sent: Friday, November 13, 2009 9:31 AM
Subject: [coldfusion-howto] parsing full names into first and last name
strings


Anyone have any code for doing this?

Thanks!

Raehm

#44534 From: "joseph l" <raehm@...>
Date: Fri Nov 13, 2009 2:31 pm
Subject: parsing full names into first and last name strings
raehm
Offline Offline
Send Email Send Email
 
Anyone have any code for doing this?

Thanks!

Raehm

#44533 From: John Bartlett <john@...>
Date: Fri Nov 13, 2009 1:24 am
Subject: Re: Generic Function (cfc) call
wyntermoonwolf
Offline Offline
Send Email Send Email
 
Try one method and accept an argument (cfargument) and pass in one of
those 38 types.


Roy wrote:
> I have a variable record with 38 record types.  Each record contains 27
fields, but what each field means depends on the record type.
>
> So to format the output line, I have a Function.cfc module to handle each of
the 38 types individually, but I was looking for a shortcut to invoking the
components within the Function.
>
> However, I cannot seem to find a way to have the method field in the cfinvoke
act on the name as a variable....that is, translated to  a particular function.
>
> I guess I'm just lazy, but I was looking for a way to populate the method
field in a cfswitch statement, then have 1 cfinvoke.
>
> Am I doomed to 38 cfinvoke statements where the only difference is the method?
>
>
>
>
>
> ------------------------------------
>
> ~~~~~~~~~
> *** Yahoo's No. 1 and the biggest group of ColdFusion Developers
>
> ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
$19.99/year. Free Setup, ASP.NET, HELM Control Panel.
http://www.hostingatoz.com. We also offer ColdFusion Reseller Hosting Plans.
>
> Post message: coldfusion-howto@yahoogroups.com
> Subscribe:  coldfusion-howto-subscribe@yahoogroups.com
> Un-Subscribe:  coldfusion-howto-unsubscribe@yahoogroups.com
>
>
> ...
> Yahoo! Groups Links
>
>
>
>
>


[Non-text portions of this message have been removed]

#44532 From: "Roy" <socker_dad@...>
Date: Fri Nov 13, 2009 12:47 am
Subject: Generic Function (cfc) call
socker_dad
Offline Offline
Send Email Send Email
 
I have a variable record with 38 record types.  Each record contains 27 fields,
but what each field means depends on the record type.

So to format the output line, I have a Function.cfc module to handle each of the
38 types individually, but I was looking for a shortcut to invoking the
components within the Function.

However, I cannot seem to find a way to have the method field in the cfinvoke
act on the name as a variable....that is, translated to  a particular function.

I guess I'm just lazy, but I was looking for a way to populate the method field
in a cfswitch statement, then have 1 cfinvoke.

Am I doomed to 38 cfinvoke statements where the only difference is the method?

#44531 From: "John" <john@...>
Date: Wed Nov 11, 2009 9:59 pm
Subject: Apache 2.2.14
wyntermoonwolf
Offline Offline
Send Email Send Email
 
If you upgrade to Apache 2.2.14, you will need to make a slight alteration to
the httpd.conf file in order for cfm templates to render correctly instead of
displaying the source code.

Locate:
AddHandler jrun-handler .jsp .jws

Change to:
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf

#44530 From: John Bartlett <john@...>
Date: Tue Nov 10, 2009 5:10 pm
Subject: Re: coldfusion, IIS and hotlink prevention - how to secure images
wyntermoonwolf
Offline Offline
Send Email Send Email
 
The problem is that nothing is 100% secure if placed on the Internet.

One option you can use is to serve up the image with a CFM template
using cfcontent.  Before serving the image, verify that the user has the
correct permissions to view it.

-John


Linda Burnside wrote:
> The images contain sensitive business information.  We don't want this
> information to land in the wrong hands.  It's not an issue of just
> watermarking the issue as that I need to make it impossible for somebody to
> get to it unless I meant for them to.
>
> I found something this morning on a proxy server redirect.  I do n't fully
> understand what I'm looking at yet, but it looks promising.
>
> Linda
>
>
>
> On Tue, Nov 10, 2009 at 9:56 AM, LACKEY, DARYL (ATTSI) <dl8453@...>wrote:
>
>
>> Can you watermark the images being shown to the public? Ben Nadel has a
>> very nice write up on how to do this on CF8.
>>
>> ________________________________
>>
>> From: coldfusion-howto@yahoogroups.com<coldfusion-howto%40yahoogroups.com>
>> [mailto:coldfusion-howto@yahoogroups.com<coldfusion-howto%40yahoogroups.com>]
>> On Behalf Of Linda Burnside
>> Sent: Monday, November 09, 2009 4:32 PM
>> To: coldfusion-howto@yahoogroups.com <coldfusion-howto%40yahoogroups.com>
>> Subject: [coldfusion-howto] coldfusion, IIS and hotlink prevention - how
>> to secure images
>>
>>
>> I'm looking for some general guidance - the answers may be Coldfusion
>> related or might be more server/software related (i.e. might be off
>> topic a
>> bit).
>>
>> I have some image asset which I want to protect. I want the images to
>> only
>> be shown within a web page on my server and more specifically to be
>> called
>> on by a flash animation. I want to make double sure that nobody can call
>> up
>> the image directly or show the image from another website. I would set
>> the
>> robots.txt file not to index the directory where these images reside.
>>
>> On an Apache server, I would have htaccess to help me accomplish this,
>> but I
>> have Windows IIS. As near as I can tell, my choices are somewhat limited
>> -
>> software based solutions on the server which would do the job. I would
>> appreciate input on other approaches.
>>
>> Possible scenario: The website
>> http://www.mywebsite.com/index.cfm?template=gallery
>> <http://www.mywebsite.com/index.cfm?template=gallery>
>> <http://www.mywebsite.com/index.cfm?template=gallery&id=1234
>> <http://www.mywebsite.com/index.cfm?template=gallery&id=1234> > &id=1234
>>
>> A hacker does a view source and sees that the photo gallery calls an xml
>> file. The hacker then downloads the xml file and sees the path to the
>> images. The hacker could then download the images one by one. I've done
>> things like this to get directly to images on webshots.com and
>> smugmug.com.
>> Did it mostly to see if I could - want to prevent someone like me from
>> doing
>> the same thing.
>>
>> What options do you know of that would prevent anyone from getting
>> directly
>> to my images by typing in
>> http://www.mywebsite.com/myimages/1234_myimage999.jpg
>> <http://www.mywebsite.com/myimages/1234_myimage999.jpg> ?
>>
>> Also, maybe I could serve up the images without the flash animation, but
>> create a cryptic session based name for the images or the path to the
>> images
>> that couldn't be called outside the session? I have a general idea that
>> this is possible in PHP but no idea how to implement in either PHP or
>> Coldfusion. I think is generally how the bank would prevent someone from
>> downloading your bank statement without being logged in as you.
>>
>> Linda
>>
>> [Non-text portions of this message have been removed]
>>
>> [Non-text portions of this message have been removed]
>>
>>
>>
>>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> ~~~~~~~~~
> *** Yahoo's No. 1 and the biggest group of ColdFusion Developers
>
> ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
$19.99/year. Free Setup, ASP.NET, HELM Control Panel.
http://www.hostingatoz.com. We also offer ColdFusion Reseller Hosting Plans.
>
> Post message: coldfusion-howto@yahoogroups.com
> Subscribe:  coldfusion-howto-subscribe@yahoogroups.com
> Un-Subscribe:  coldfusion-howto-unsubscribe@yahoogroups.com
>
>
> ...
> Yahoo! Groups Links
>
>
>
>
>


[Non-text portions of this message have been removed]

#44529 From: Linda Burnside <linda@...>
Date: Tue Nov 10, 2009 3:29 pm
Subject: Re: coldfusion, IIS and hotlink prevention - how to secure images
ihatespam22222
Offline Offline
Send Email Send Email
 
The images contain sensitive business information.  We don't want this
information to land in the wrong hands.  It's not an issue of just
watermarking the issue as that I need to make it impossible for somebody to
get to it unless I meant for them to.

I found something this morning on a proxy server redirect.  I do n't fully
understand what I'm looking at yet, but it looks promising.

Linda



On Tue, Nov 10, 2009 at 9:56 AM, LACKEY, DARYL (ATTSI) <dl8453@...>wrote:

>
>
> Can you watermark the images being shown to the public? Ben Nadel has a
> very nice write up on how to do this on CF8.
>
> ________________________________
>
> From: coldfusion-howto@yahoogroups.com<coldfusion-howto%40yahoogroups.com>
> [mailto:coldfusion-howto@yahoogroups.com<coldfusion-howto%40yahoogroups.com>]
> On Behalf Of Linda Burnside
> Sent: Monday, November 09, 2009 4:32 PM
> To: coldfusion-howto@yahoogroups.com <coldfusion-howto%40yahoogroups.com>
> Subject: [coldfusion-howto] coldfusion, IIS and hotlink prevention - how
> to secure images
>
>
> I'm looking for some general guidance - the answers may be Coldfusion
> related or might be more server/software related (i.e. might be off
> topic a
> bit).
>
> I have some image asset which I want to protect. I want the images to
> only
> be shown within a web page on my server and more specifically to be
> called
> on by a flash animation. I want to make double sure that nobody can call
> up
> the image directly or show the image from another website. I would set
> the
> robots.txt file not to index the directory where these images reside.
>
> On an Apache server, I would have htaccess to help me accomplish this,
> but I
> have Windows IIS. As near as I can tell, my choices are somewhat limited
> -
> software based solutions on the server which would do the job. I would
> appreciate input on other approaches.
>
> Possible scenario: The website
> http://www.mywebsite.com/index.cfm?template=gallery
> <http://www.mywebsite.com/index.cfm?template=gallery>
> <http://www.mywebsite.com/index.cfm?template=gallery&id=1234
> <http://www.mywebsite.com/index.cfm?template=gallery&id=1234> > &id=1234
>
> A hacker does a view source and sees that the photo gallery calls an xml
> file. The hacker then downloads the xml file and sees the path to the
> images. The hacker could then download the images one by one. I've done
> things like this to get directly to images on webshots.com and
> smugmug.com.
> Did it mostly to see if I could - want to prevent someone like me from
> doing
> the same thing.
>
> What options do you know of that would prevent anyone from getting
> directly
> to my images by typing in
> http://www.mywebsite.com/myimages/1234_myimage999.jpg
> <http://www.mywebsite.com/myimages/1234_myimage999.jpg> ?
>
> Also, maybe I could serve up the images without the flash animation, but
> create a cryptic session based name for the images or the path to the
> images
> that couldn't be called outside the session? I have a general idea that
> this is possible in PHP but no idea how to implement in either PHP or
> Coldfusion. I think is generally how the bank would prevent someone from
> downloading your bank statement without being logged in as you.
>
> Linda
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>
>


[Non-text portions of this message have been removed]

#44528 From: "LACKEY, DARYL (ATTSI)" <dl8453@...>
Date: Tue Nov 10, 2009 2:56 pm
Subject: RE: coldfusion, IIS and hotlink prevention - how to secure images
daryllackey
Offline Offline
Send Email Send Email
 
Can you watermark the images being shown to the public?  Ben Nadel has a
very nice write up on how to do this on CF8.

________________________________

From: coldfusion-howto@yahoogroups.com
[mailto:coldfusion-howto@yahoogroups.com] On Behalf Of Linda Burnside
Sent: Monday, November 09, 2009 4:32 PM
To: coldfusion-howto@yahoogroups.com
Subject: [coldfusion-howto] coldfusion, IIS and hotlink prevention - how
to secure images




I'm looking for some general guidance - the answers may be Coldfusion
related or might be more server/software related (i.e. might be off
topic a
bit).

I have some image asset which I want to protect. I want the images to
only
be shown within a web page on my server and more specifically to be
called
on by a flash animation. I want to make double sure that nobody can call
up
the image directly or show the image from another website. I would set
the
robots.txt file not to index the directory where these images reside.

On an Apache server, I would have htaccess to help me accomplish this,
but I
have Windows IIS. As near as I can tell, my choices are somewhat limited
-
software based solutions on the server which would do the job. I would
appreciate input on other approaches.

Possible scenario: The website
http://www.mywebsite.com/index.cfm?template=gallery
<http://www.mywebsite.com/index.cfm?template=gallery>
<http://www.mywebsite.com/index.cfm?template=gallery&id=1234
<http://www.mywebsite.com/index.cfm?template=gallery&id=1234> > &id=1234

A hacker does a view source and sees that the photo gallery calls an xml
file. The hacker then downloads the xml file and sees the path to the
images. The hacker could then download the images one by one. I've done
things like this to get directly to images on webshots.com and
smugmug.com.
Did it mostly to see if I could - want to prevent someone like me from
doing
the same thing.

What options do you know of that would prevent anyone from getting
directly
to my images by typing in
http://www.mywebsite.com/myimages/1234_myimage999.jpg
<http://www.mywebsite.com/myimages/1234_myimage999.jpg>  ?

Also, maybe I could serve up the images without the flash animation, but
create a cryptic session based name for the images or the path to the
images
that couldn't be called outside the session? I have a general idea that
this is possible in PHP but no idea how to implement in either PHP or
Coldfusion. I think is generally how the bank would prevent someone from
downloading your bank statement without being logged in as you.

Linda

[Non-text portions of this message have been removed]






[Non-text portions of this message have been removed]

#44527 From: "Linda Burnside" <linda@...>
Date: Mon Nov 9, 2009 10:32 pm
Subject: coldfusion, IIS and hotlink prevention - how to secure images
ihatespam22222
Offline Offline
Send Email Send Email
 
I'm looking for some general guidance - the answers may be Coldfusion
related or might be more server/software related (i.e. might be off topic a
bit).



I have some image asset which I want to protect.  I want the images to only
be shown within a web page on my server and more specifically to be called
on by a flash animation.  I want to make double sure that nobody can call up
the image directly or show the image from another website.   I would set the
robots.txt file not to index the directory where these images reside.



On an Apache server, I would have htaccess to help me accomplish this, but I
have Windows IIS.  As near as I can tell, my choices are somewhat limited -
software based solutions on the server which would do the job.  I would
appreciate input on other approaches.



Possible scenario:  The website
http://www.mywebsite.com/index.cfm?template=gallery
<http://www.mywebsite.com/index.cfm?template=gallery&id=1234> &id=1234



A hacker does a view source and sees that the photo gallery calls an xml
file.  The hacker then downloads the xml file and sees the path to the
images.  The hacker could then download the images one by one.  I've done
things like this to get directly to images on webshots.com and smugmug.com.
Did it mostly to see if I could - want to prevent someone like me from doing
the same thing.



What options do you know of that would prevent anyone from getting directly
to my images by typing in
http://www.mywebsite.com/myimages/1234_myimage999.jpg ?



Also, maybe I could serve up the images without the flash animation, but
create a cryptic session based name for the images or the path to the images
that couldn't be called outside the session?  I have a general idea that
this is possible in PHP but no idea how to implement in either PHP or
Coldfusion.  I think is generally how the bank would prevent someone from
downloading your bank statement without being logged in as you.







Linda



[Non-text portions of this message have been removed]

Messages 44527 - 44557 of 44584   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help