hiding the path of an included file
I have this in one of my style sheets: ..mask { cfoutputbehavior : url(#Attributes.ApplicationPath#/mask_js.htc);/cfoutput } When this runs, it shows the path to the mask_js.htc file if someone views source. I would like to hide this path, so that no one can download thit file easily. Unfortunately, the behavior property only uses URLs, so I can't specify an unreachable absolute path. Any ideas? Todd ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: hiding the path of an included file
I have this in one of my style sheets: ..mask { cfoutputbehavior : url(#Attributes.ApplicationPath#/mask_js.htc);/cfoutput } When this runs, it shows the path to the mask_js.htc file if someone views source. I would like to hide this path, so that no one can download thit file easily. Unfortunately, the behavior property only uses URLs, so I can't specify an unreachable absolute path. If you want people to be able to download it, you'll have to specify a URL, and if someone wants to tinker around enough, there's nothing you can do to prevent them from downloading the file itself. You could make it slightly more difficult by using JavaScript to build URLs on the client - a sort of obfuscation - but that's about it. Since you're using IE-specific stuff like HTC files, though, you might be able to encode some of the logic using the MS script encoder. There's more info on that at http://msdn.microsoft.com/scripting/. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Here's an idea ... hiding the path of an included file
Hey Todd, here's an idea .. .you could put that project down while you think about it .. then while you're not working on it, you could help me get my SITES BACK TOGETHER ... ITS BEEN NEARLY 2 WEEKS NOW SINCE YOU BROKE EVERYTHING ... I STILL HAVE ONLY ONE SITE UP AGAIN AND I AM STILL UNABLE TO CHECK ITS ALL WORKING. THE OTHER HAS JUST VANISHED. HEY IVE BEEN ASKING FOR A WEEK . . . I NEED THE INFORMATION YOU PROMISED TO GET MY SITES GOING AGAIN How long would the rest of you tolerate your hosting company having your site broken? 15 minutes? 30minutes? How about 2 weeks??And he has time to work on developing pages while my fricken sites are down MY GAWD! Cheers, Mike Kear Windsor, NSW, Australia AFP Webworks -Original Message- From: Todd Ashworth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 12:42 AM To: CF-Talk Subject: hiding the path of an included file I have this in one of my style sheets: ..mask { cfoutputbehavior : url(#Attributes.ApplicationPath#/mask_js.htc);/cfoutput } When this runs, it shows the path to the mask_js.htc file if someone views source. I would like to hide this path, so that no one can download thit file easily. Unfortunately, the behavior property only uses URLs, so I can't specify an unreachable absolute path. Any ideas? Todd Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Here's an idea ... hiding the path of an included file
provided sooner. Please don't think that I just sit around all the time not caring what happens to our hosting customers with a Scew it! I'll do it when I get around to it whenever I feel like it! attitude. Durring the afformentioned, very, nasty outage, I gave a few customers my home phone number so they could contact me, personally, after 'normal' work hours if they needed/wanted to. So .. as an aside to How long would the rest of you tolerate your hosting company having your site broken? 15 minutes? 30minutes? How about 2 weeks, how many web hosts do you know that give you direct access to the network administrator who would also give out his home phone number to some clients when things got rough? /To Mike Like I said before, this is NOT an attack against Mike. He has a *very* legitimate complaint and I don't blame him for getting frustrated with the whole mess. I just wanted to represent our point of view. Mike, if you have anymore concerns, contact me directly, either through E-mail, or through the toll free number and personal extension, which I will provide if you want it. I don't mind you posting complaints to the list (all is fair, afterall, other than the off-topic nature), but a lot of times, due to the nature of the lists, I don't get any of the E-mails until several hours after they have been posted. I'd rather address your concerns sooner than later. I just don't want there to be any more misunderstandings. Todd Ashworth Certified ColdFusion Developer Network Administrator Saber Corporation 314 Oakland Ave. Rock Hill, SC 29730 (803) 327-0137 [111] (p) (803) 328-2868 (f) - Original Message - From: Mike Kear [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, May 15, 2001 12:00 PM Subject: Here's an idea ... hiding the path of an included file Hey Todd, here's an idea .. .you could put that project down while you think about it .. then while you're not working on it, you could help me get my AND I AM STILL UNABLE TO CHECK ITS ALL WORKING. THE OTHER HAS JUST VANISHED. HEY IVE BEEN ASKING FOR A WEEK . . . I NEED THE INFORMATION YOU PROMISED TO GET MY SITES GOING AGAIN How long would the rest of you tolerate your hosting company having your site broken? 15 minutes? 30minutes? How about 2 weeks??And he has time to work on developing pages while my fricken sites are down MY GAWD! Cheers, Mike Kear Windsor, NSW, Australia AFP Webworks -Original Message- From: Todd Ashworth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 12:42 AM To: CF-Talk Subject: hiding the path of an included file I have this in one of my style sheets: ..mask { cfoutputbehavior : url(#Attributes.ApplicationPath#/mask_js.htc);/cfoutput } When this runs, it shows the path to the mask_js.htc file if someone views source. I would like to hide this path, so that no one can download thit file easily. Unfortunately, the behavior property only uses URLs, so I can't specify an unreachable absolute path. Any ideas? Todd ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists