I need to keep people from entering the url to specific files and types into the browser. DiscountASP does not allow a folder outside the root of a website. How can I do this? Thank you,
Hi, There are many ways to do this...I'll post some links for you. HOW TO: Use ASP.NET to Protect File Types http://support.microsoft.com/kb/815152 Bing Search: http://www.bing.com/search?q=asp.net+protect+files
They still need to be able to download if authenticated I don't want the files to be completly forbiden. I just want anyone not logged in to be locked outof the files.
When you say, you want to user to access these file when they are logged in. Do you mean windows authentication or Form Authentication? Do you have an ASP.NET application?
Bruce, Yes, I have an ASP.net app on DiscountASP I have some files (zip, pdf, exe) in a folder on the site that I want to protect from the outside (people entering the url in the browser and being able to download them. I'm on an IIS6 server and using ASP.NET 2.0 Does anyone have any suggestions for this? What do people do out there to protect these types of files and still let users of a site login and download them. I apprecaite any help with this.
Hi, The best solution is probably to password protect a compressed archive. i.e. I've used ZIP files with password protection since the 80's. You can find some good tips here: http://lifehacker.com/ All the best, Mark