Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

how to deny file access yet allow that file to be displaye..

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  DNS or IIS question ?  
Author Message
Notgiven

External


Since: Jan 18, 2006
Posts: 4



(Msg. 1) Posted: Wed Jan 18, 2006 4:15 pm
Post subject: how to deny file access yet allow that file to be displayed within web page?
Archived from groups: alt>apache>configuration (more info?)

I want to prevent someone stealing my flash files.

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

but I could still access
/directory/files.gif

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

 >> Stay informed about: how to deny file access yet allow that file to be displaye.. 
Back to top
Login to vote
randomtalk

External


Since: Jan 18, 2006
Posts: 2



(Msg. 2) Posted: Wed Jan 18, 2006 4:15 pm
Post subject: Re: how to deny file access yet allow that file to be displayed within web page? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

if they can view it, that means they have downloaded to their local
machine (although in browser cache).. If they have downloaded the
flash/image file, they can get at it.. Nothing to go around that..

 >> Stay informed about: how to deny file access yet allow that file to be displaye.. 
Back to top
Login to vote
Notgiven

External


Since: Jan 18, 2006
Posts: 4



(Msg. 3) Posted: Wed Jan 18, 2006 6:40 pm
Post subject: Re: how to deny file access yet allow that file to be displayed within web page? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

thanks


<randomtalk RemoveThis @gmail.com> wrote in message
news:1137620295.956106.273410@g49g2000cwa.googlegroups.com...
> if they can view it, that means they have downloaded to their local
> machine (although in browser cache).. If they have downloaded the
> flash/image file, they can get at it.. Nothing to go around that..
>
 >> Stay informed about: how to deny file access yet allow that file to be displaye.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
how to deny a list of IPs from a file - Hi, folks: I have a list of IP addresses which are saved in a file "deny.list" and may be changed with time. what shall I do to block these IPs. I know I can set Deny to block one or several IPs or subnets under the DocumentRoot, like: Ord...

Apache access and error log file question - The below is a shortened copy of what has been generated in my Apache 2.0.49 access log files for several days now by the same person (s) It is 29 lines long in my access file.. 67.86.94.207 - - [01/May/2004:10:39:01 -0500] "SEARCH..

directory access (file listing) does not work ... - I can get at http://www.terwiel.com/studie/frankena.pdf all right, it loads into acrobat etc.. no problem. but when I try to see the file listing of that directory with http://www.terwiel.com/studie/ I cannot get a neat listing of the files in that...

Access to remote file shares via Apache nad Oracle App Ser.. - Help please. I have apache web server from Oracle 9i application server. I am trying to add an alias which will access files on a remote file server. The Oracle HTTPSService (Apache Server Service) is running as a domain memebr account which has read..

properly written .htaccess file is not controlling access .. - I have a .htaccess file that works on a hosted server but not locally to deny access to a folder. It's content simply are: Order Deny,Allow Deny from all When the browsers goes to that directoryt, it lists all the files. You can't see the .htaccess...
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]