Hide URL
How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hide URL
send them as a form variable, session var, postit note, cookie On Mon, 12 Aug 2002, Cami Lawson wrote: How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
Wouldn't a frameset hide the address bar of child frames? -Original Message- From: Cami Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 6:27 AM To: CF-Talk Subject: Hide URL How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
it is a redirect from an ASP application to CF app during a login process -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 10:24 AM To: CF-Talk Subject: Re: Hide URL send them as a form variable, session var, postit note, cookie On Mon, 12 Aug 2002, Cami Lawson wrote: How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hide URL
hehehe, post-it note over the browser URL works well. :) That's funny... :) ~Todd On Mon, 12 Aug 2002, Alex wrote: send them as a form variable, session var, postit note, cookie On Mon, 12 Aug 2002, Cami Lawson wrote: How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami -- Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ | Team Macromedia Volunteer for ColdFusion | http://www.macromedia.com/support/forums/team_macromedia/ | http://www.flashCFM.com/ - webRat (Moderator)| http://www.ultrashock.com/ - webRat (Back-end Moderator) | __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hide URL
A url variable is a url variable .. you will need to send it as a form or in a session variable Paul Giesenhagen QuillDesign - Original Message - From: Cami Lawson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, August 12, 2002 8:27 AM Subject: Hide URL How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
Client doesn't allow frames for their application. -Original Message- From: Brian Fox [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 10:25 AM To: CF-Talk Subject: RE: Hide URL Wouldn't a frameset hide the address bar of child frames? -Original Message- From: Cami Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 6:27 AM To: CF-Talk Subject: Hide URL How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hide URL
You can send a post request to CF from ASP, with form fields that have the values you need to send over. - Original Message - From: Cami Lawson [EMAIL PROTECTED] Date: Monday, August 12, 2002 7:27 am Subject: Hide URL How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
You might try something like this: cfif Len(CGI.QUERY_STRING) GT 0 cfset Session.UrlStruct=Duplicate(URL) cflocation url=#CGI.SCRIPT_NAME# /cfif cfif IsDefined(Session.UrlStruct) cfset URL=Duplicate(Session.UrlStruct) /cfif As of CF5, URL variables are stored as a structure. I haven't tested this and obviously you should be locking the Session variables. You might need to loop over the collection rather than using Duplicate(). -Original Message- From: Cami Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 11:24 AM To: CF-Talk Subject: RE: Hide URL it is a redirect from an ASP application to CF app during a login process -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 10:24 AM To: CF-Talk Subject: Re: Hide URL send them as a form variable, session var, postit note, cookie On Mon, 12 Aug 2002, Cami Lawson wrote: How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
Cami, What about encoding and then decoding the information? I don't know if ColdFusion has any such features. Maybe it does. But you could write simple code to make the information meaningless at first glance. Of course, this wouldn't stand up to anyone who really wanted to get at the information, but if all you want to do is protect from the casual glance, you can do something as simple as shift every letter in the alphabet by three letters. So, www.mysite.com/mypage.cfm?var1=marketingvar2=finance ..would become: www.mysite.com/mypage.cfm?ydt1=odunhwlqjydt2=ilqdqfh Incredibly simple to decode, but looks like gobbledygook to anyone who doesn't look further. Hope this helps, Matthieu -Original Message- From: Cami Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 9:27 AM To: CF-Talk Subject: Hide URL How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
encrypt them if you can. -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: 12 August 2002 16:39 To: CF-Talk Subject: RE: Hide URL You might try something like this: cfif Len(CGI.QUERY_STRING) GT 0 cfset Session.UrlStruct=Duplicate(URL) cflocation url=#CGI.SCRIPT_NAME# /cfif cfif IsDefined(Session.UrlStruct) cfset URL=Duplicate(Session.UrlStruct) /cfif As of CF5, URL variables are stored as a structure. I haven't tested this and obviously you should be locking the Session variables. You might need to loop over the collection rather than using Duplicate(). -Original Message- From: Cami Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 11:24 AM To: CF-Talk Subject: RE: Hide URL it is a redirect from an ASP application to CF app during a login process -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 10:24 AM To: CF-Talk Subject: Re: Hide URL send them as a form variable, session var, postit note, cookie On Mon, 12 Aug 2002, Cami Lawson wrote: How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hide URL
How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. If you set a persistent scope variable ( session, client, etc. ) to match each significant url variable, then you can use cflocation to relocate to the current page without the query string and use the persistent scope variables and they should never see them in the url ( even if they view properties on the page )... i.e. cfif IsDefined(url.myurlvar) cfset client.myurlvar = url.myurlvar cflocation url=#cgi.path_info# addtoken=nocfabort /cfif cfoutput#client.myurlvar#/cfoutput hth Isaac Dealey Certified Advanced ColdFusion Developer www.turnkey.to 954-776-0046 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
At 11:41 AM 8/12/02 -0400, Cornillon, Matthieu wrote: www.mysite.com/mypage.cfm?var1=marketingvar2=finance ..would become: www.mysite.com/mypage.cfm?ydt1=odunhwlqjydt2=ilqdqfh I encode the entire string for mine, so that the url looks like: www.mysite.com/mypage.cfm?3sd32s2sd22342d1234 or something like that. Then I just decode it on the far end. I use a key that changes all the time to do the encryption, so if it is broken for this session, it will have to be rebroken for every session from there on. On top of this, I use non-intuitive variable names to make things harder to decode. T __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
Rot13 anyone? :) I think there's a Rot13 UDF on cflib.org if you just wanted to obscure it this way... Isaac Dealey Certified Advanced ColdFusion Developer www.turnkey.to 954-776-0046 Cami, What about encoding and then decoding the information? I don't know if ColdFusion has any such features. Maybe it does. But you could write simple code to make the information meaningless at first glance. Of course, this wouldn't stand up to anyone who really wanted to get at the information, but if all you want to do is protect from the casual glance, you can do something as simple as shift every letter in the alphabet by three letters. So, www.mysite.com/mypage.cfm?var1=marketingvar2=finance ..would become: www.mysite.com/mypage.cfm?ydt1=odunhwlqjydt2=ilqdqfh Incredibly simple to decode, but looks like gobbledygook to anyone who doesn't look further. Hope this helps, Matthieu -Original Message- From: Cami Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 9:27 AM To: CF-Talk Subject: Hide URL How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Thread on how to hide URL parameters
There was a thread (actually several) on how to hide URL parameters in a link, using "/" as a separator... the syntax was somethong like: http://www.mydomain.com/mypage.cfm/?A=aaa/B=bbb/C=ccc instead of: http://www.mydomain.com/mypage.cfm?A=aaaB=bbbC=ccc I can't find the threads. Can anyone sum this up for me, or point me to a thread? I need to pass a URL parameter which contains another complete URL and its parameter list. TIA Dick -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Thread on how to hide URL parameters
There was a thread (actually several) on how to hide URL parameters in a link, using "/" as a separator... the syntax was somethong like: http://www.mydomain.com/mypage.cfm/?A=aaa/B=bbb/C=ccc instead of: http://www.mydomain.com/mypage.cfm?A=aaaB=bbbC=ccc I can't find the threads. Can anyone sum this up for me, or point me to a thread? I need to pass a URL parameter which contains another complete URL and its parameter list. There are 2 ways to look at this; http://www.mydomain.com/mypage.cfm/A=aaa/B=bbb/C=ccc or http://www.mydomain.com/mypage.cfm/A/aaa/B/bbb/C/ccc I prefer the first as it's easier to read, but I think some of the search engines still have problems The theory is that the slashes denote either the list separators, or complete separators with alternate variable name and values FuseBox uses the second (for the most part), and this makes it less readable to the viewer I'm not 100% sure, but I think if you have index.cfm then you theoretically don't need to use the page name, which makes it look to the viewer that it's just a directory path Anyways, how to use it; check for CGI.Path_Info and CGI.Script_Name, some web servers handle on one, others on the other, once you've removed the template name, then you can loop through the list (which is on the end) and take the values off This is where I prefer the first option as it means that you can use the "=" to specify what is being set to what. If you just uses slashes, then a little messing around by users can break the site (without error trapping) I hope this explains it - if not, drop me a line off list and I'll supply some simple code Philip Arnold ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.