Avatar billede evilkneivel999 Nybegynder
17. juni 2008 - 15:04 Der er 1 kommentar

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
Avatar billede meltinis Nybegynder
13. august 2008 - 01:21 #1
Have you considered creating a page which response with a picture (Response.ContentType) or in this case the swf-file? This way I think you could protect the swf file...
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester