geektron has asked for the wisdom of the Perl Monks concerning the following question:
One of the apps here at work is a small 'document management' system (for lack of a better term). It allows users to search through archives of journal articles and get PDFs and .txt documents. The default behaviour is 'view' ... clicking on the link provided by the application allows the user to view the file in question.
Some have been trying to download/save that file with a right-click and 'save as ...' command. Not an issue to the client, except for the fact that the link target is essentially:
myapp.cgi.html
on right-click. The link is actually internal to the app to make sure that the user is logged in (has a valid session cookie).
Is there any good, "quick" way around this? I don't want to be cheesy and use the stupid javascript 'disable right-click' BS.
Is there some way to modify the app so that right-clicks work as expected? (viz - the filename appears in the dialog box for 'save', not the link to the app)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: App-level security and downloadable files
by merlyn (Sage) on Mar 23, 2004 at 18:52 UTC | |
by geektron (Curate) on Mar 23, 2004 at 19:28 UTC | |
by merlyn (Sage) on Mar 23, 2004 at 19:49 UTC |