block downloading files to local temp directory while viewing files online
Posted 03 October 2006 - 09:05 AM
The database I used is MySQL. I am trying to block user from downloading files to local temp directory while viewing a confidential document online. I don't know how to do it. Any help will be much appreciated. Thanks a lot in advance.
Posted 03 October 2006 - 10:08 AM
Posted 06 October 2006 - 03:26 AM
Sorry I am not quite clear about this becasue I am new to all the topic. Using "header('Cache-Control: no-cache')", the downloading to the temp directory can be blockbed. For blocking user to use the 'save as' function to save a PDF file, the java script has to be used. Am I right? Instead of using Java script, can PHP script work for this?
I need a clear drection so that I know how to start my work. Thanks.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users