|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
ASP.Net/VB.Net - Secure Files
hi everyone
I have a ASP.Net website that uses Form Authentication, I have some secure files that need to be outside of the wwwroot, RR has helped me and I got a solution, I have securedocs folder outside the website from where I can send the files to the browser securely, the problem is, there are swf files as well. but when I send the show.html file the swf itself doesn't show on the page because, according to me, it needs to be in a http accessible folder to show. What I am ultimately trying to do is block someone trying to type in http://www.domain.co.za/flash1.swf and download the file directly, they have to be logged into the website to access the files. Any ideas? Thanks
__________________
Look! Its a ShemZilla ![]() ![]()
|
|
#2
|
||||
|
||||
|
anyone?
|
|
#3
|
||||
|
||||
|
Hey N
May be you can show/give access to those files only when people are logged in. If they are not logged in, they cant have access to those files. |
|
#4
|
||||
|
||||
|
Mickey, that is what I want to do, but when user knows the direct link to the file, how will it stop him to download it directly?
I was thinking of creating a ASPX page that will fetch the file from a separate folder and display it, when the user logs out, delete all the files from the web accessible area? |
|
#5
|
||||
|
||||
|
Are those files only for download purposes or can user view (on site) them also?
|
|
#6
|
||||
|
||||
|
I have zip/pdf/doc files that users can download via a normal aspx file link, these are secure already, ie. when I type http://www.domain.com/file1.zip it wont download.
but I have SWF files that are embedded in a html page, I want the SWF to be secure as well, but when I put them in a non web accessible folder, it doesn't show on the html page |
|
#7
|
||||
|
||||
|
Quote:
Maybe you can have something in IIS to do this. But i dont know Sorry N, cant help you. |
|
#8
|
||||
|
||||
|
cool, thanks for trying M, will find some kind of work around
![]() |
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > ASP.Net/VB.Net - Secure Files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|