Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Server Side
/
Apache Web Server
11:38 pm May 1, 2026
This page requires javascript.
Forum Moderators:
phranque
Message Too Old, No Replies
Protect download file
webstyler
Msg#:4351994
1:30 pm on Aug 16, 2011
(gmt 0)
Hello
What I need is to deny download file from any IP but permit usage is request is not direct from user
so
If user open page the file can be called from page, server side
If user open the file link can't be download it
Possible ?
tx
phranque
Msg#:4352357
7:15 am on Aug 17, 2011
(gmt 0)
you can
Detect blank referrer in RewriteCond
:
http://www.webmasterworld.com/apache/3391260.htm
[webmasterworld.com]
however, beware that some visitors will have a configuration that blocks the HTTP Referer header.
so effectively with a blank or spoofed Referer you can't really determine if it is a direct or (self-)referred request.
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Apr
,
Mar
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
April 2026 Google Search Observations
AdSense Earnings and Observations - April 2026
what do they want?
Hello again, it's been a while
I need some SEO help
SEO question
Do you get tired of others copying your content?
5 SEO Tips That Actually Worked for My Blog in 2026
Home
Forums Index
Server Side
/
Apache Web Server
11:38 pm May 1, 2026