473,788 Members | 2,868 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how can you use flash files while NOT allowing users to get those files?

I added an .htaccess file to the directory which disallowed access to:
/directory/

but I could still access
/directory/files.gif

I want to prevent someone stealing my flash files.

I can put it in a directory outside the web root but having trouble making
that work. The fiels are not displayed. Here's the directory structure I
used for that effort:

/d1
/d1/images/file.swf
/d1/www/site1(webroot)/d3/page.php

Page.php needs to display file.swf in the directory structure above.

Any other ideas? Thanks
Jan 13 '06 #1
3 1646
On Fri, 13 Jan 2006 14:01:20 -0500, "Notgiven" <no*********@in valid.invalid>
wrote:
I added an .htaccess file to the directory which disallowed access to:
/directory/

but I could still access
/directory/files.gif
Looks like you need to post to alt.apache.conf iguration for the .htaccess file
then.
I want to prevent someone stealing my flash files.

I can put it in a directory outside the web root but having trouble making
that work. The fiels are not displayed. Here's the directory structure I
used for that effort:

/d1
/d1/images/file.swf
/d1/www/site1(webroot)/d3/page.php

Page.php needs to display file.swf in the directory structure above.


Then it needs to be in the web root, or a separate PHP script needs to output
its contents. You can't allow users to view a file without downloading it. Who
are you protecting this from? Who is allowed to view the file?

--
Andy Hassall :: an**@andyh.co.u k :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Jan 13 '06 #2
ok, heres an idea, what about using flash comm with javscript, tio
check wether or not the swf file is inside the page, and have the flash
file LOAD snother file within, the real movie?

so, u woulc check for a var called z123, and if it has a value, then
load the inner movie, else, dont bother, be advised, however, that
products like softtonic offer the power users the posibility to
decompile your swf files, and checking the source for that kind of
stuff, making any attempt of protecting the stuff u send over the net a
useless waste of brain cells.
/f3l
http://www.geocities.com/kyoosho/

Jan 13 '06 #3
Won't it be easier to just check the movieClip's _url property inside
the SWF file itself?

Jan 13 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
3724
by: Darren Gates | last post by:
hi PHP users, Here's a Flash 7 version of phpMyAdmin: http://www.tufat.com/phpflashmyadmin.php Special features include: drag-and-drop interface for InnoDB table relationships, quick record editing, tree-menu display for databases and tables, support for multiple hosts, and much more...
2
436
by: Tim Blizard | last post by:
I know this topic has been discussed before but I couldn't find any thread more recent than about 18 months and was interested in what conclusions people had come to recently. Invariably 3 advantages of XML config files are promoted; 1. The .NET framework provides built-in support for reading application configuration data from .config files very easily 2. Using these files makes it possible to deploy an application using
1
1689
by: zeb | last post by:
Hi, How can I have a flash played in a popup window when I load my index page ? Thanks in advance...
5
1983
by: JJ | last post by:
Although this question involves Flash, I suspect the actual issue is an asp one.. I am trying to open the web.sitemap file in an .swf file enbedded in an asp page (I'm working in VS 2005). I get an error in Flash when it trys to open this file using standard Flash commands. However when I change the file name and command to 'Web.xml' it works. (it also works if I don't change the name, but run the swf in flash player and not via the...
8
5912
by: Neo Geshel | last post by:
Greetings. BACKGROUND: My sites are pure XHTML 1.1 with CSS 2.1 for markup. My pages are delivered as application/xhtml+xml for all non-MS web clients, and as text/xml for all MS web clients (Internet Explorer). My flash content was originally brought in via the “flash satay” method, but I have since used some server-side magic do deliver one <objecttag
21
34440
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most obvious of which is the sharing of files. For example, you upload images to a server to share them with other people over the Internet. Perl comes ready equipped for uploading files via the CGI.pm module, which has long been a core module and allows users...
1
2215
by: LiBeR | last post by:
Hey buddies I am trying to launch a pop window that show another movie but it is not allowing me to test my pop up unless I upload the files to some server. It is a pain to upload every time I make some changes.. HOW can disable Flash's security to test my pop ups on my system...
2
8091
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I did not understand some parameters totally in the HTML tag. These days when I was surfing the Internet I have found some comprehensive introduction to these two tags. I read it and conclude it with my own words; I think it will be useful to us, so I...
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
10366
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10112
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5399
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3675
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.