473,387 Members | 1,502 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Protecting unauthenticated users from downloading .swf files

Hi

I have in the past had succes with protecting pdf-files from download by
unauthenticated users by adding an application extension in IIS and mapping
pdf.files to be served by the aspnet-process.

I am currently faced with the same challenge - just for swf-files (shockwave
flash). I need only authenticated users to be able to access them.

However - when I make aspnet_isapi.dll handle swf-files, they are not shown
in the browser.

I have no idea why this is happening.

The site runs on a 2003-server and I use Asp.net 2.0, and the site otherwise
runs just fine.

Thanks in advance

Klaus

Jun 27 '08 #1
1 2075
Here I've documented several techniques for ensuring files are only uploaded
and downloaded by authorized persons:

http://SteveOrr.net/articles/File-Denial.aspx
http://SteveOrr.net/articles/EasyUploads.aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
http://iPhonePlaza.net


"Klaus Jensen" <Klaus Je****@discussions.microsoft.comwrote in message
news:5F**********************************@microsof t.com...
Hi

I have in the past had succes with protecting pdf-files from download by
unauthenticated users by adding an application extension in IIS and
mapping
pdf.files to be served by the aspnet-process.

I am currently faced with the same challenge - just for swf-files
(shockwave
flash). I need only authenticated users to be able to access them.

However - when I make aspnet_isapi.dll handle swf-files, they are not
shown
in the browser.

I have no idea why this is happening.

The site runs on a 2003-server and I use Asp.net 2.0, and the site
otherwise
runs just fine.

Thanks in advance

Klaus
Jun 27 '08 #2

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

Similar topics

24
by: Yang Li Ke | last post by:
Hi guys! Anyone know a way so that users purchasing my scripts would not be able to share them with other people ? Yang
4
by: Tom | last post by:
My site requires users to log in. Each php page ensures the user has been authentiated and will redirect to the login page if need be. However the site also has a directory of PDF files that...
1
by: bradley | last post by:
I have an \upload folder beneath the web root where I have MS Word and other documents that I would prefer not be available to the public. How can I configure web.config to prevent these files from...
8
by: Iain Napier | last post by:
I'm in the middle of developing a website with a downloads section. It's a wad of educational software for an LEA which for obvious reasons needs password protecting. Users have to authenticate...
18
by: UJ | last post by:
Folks, We provide custom content for our customers. Currently we put the files on our server and people have a program we provide that will download the files. These files are usually SWF, HTML or...
0
by: tshad | last post by:
How would I protect all my files from someone getting access to my asp,htm,gif,jpg etc. files? I can protect my .aspx files using Forms Authentication and dropping the following in my specific...
4
by: GD | last post by:
I'd like to prevent users from downloading my CSS file. I thought about putting a web.config file inside my CSS directory as follows: <?xml version="1.0" encoding="utf-8" ?> <configuration>...
0
by: Keithb | last post by:
I am using the login control on my web site, which has both authenticated an unauthenticated users. I added a logout page that is supposed to allow an authenticated user to drop his authentication...
22
by: flit | last post by:
Hello All, I have a hard question, every time I look for this answer its get out from the technical domain and goes on in the moral/social domain. First, I live in third world with bad gov., bad...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.