This is a discussion on Distributing files to users in a secure method ASP.NET within the ASP and ASP.NET Programming forums, part of the Web Development category; In some circumstance we gave the link to download a file....if u want to secure the file to download.......
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| In some circumstance we gave the link to download a file....if u want to secure the file to download....like if user must be authenticated,..... HTTPHandler is used to secure the files..... in web.config <httpHandlers> <add verb="*" path="*.doc" type="FileHandler" /> <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory" /> </httpHandlers> and the below method process the request public void ProcessRequest(HttpContext context) { Source : Source.zip
__________________ The MOSS Master of Solution Service |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Secure PHP code | vadivelanvaidyanathan | PHP Programming | 5 | 12-11-2008 07:02 PM |
| How to Secure to All type of document's(don't allow users to save document's)? | Archer | C# Programming | 1 | 03-12-2008 01:09 AM |
| How To Secure Windows XP | arjkhanna | Operating Systems | 0 | 01-08-2008 09:18 AM |
| Trace files and Log Files in Unix | vigneshgets | Operating Systems | 0 | 08-01-2007 05:18 AM |
| Secure Appn | sudhir | Software Testing | 2 | 04-16-2007 04:08 AM |