NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Big Ian on March 31, 2008, 06:48:29 AM
-
Hi Gang
I have an issue where I'd like to stop certain files being downloaded by certain users from my web folder. Now I can detect when the files been requested however how do I get it to redirect to another page instead of downloading the file?
Cheers
Big Ian
-
If they are selecting the file from a list, then filter the list before displaying it.
If they are typing the file from the browser, then you could intercept that and just call another page and return.
If user = restrictedguy
DocNotAvailable(p_web)
Return
end
If it is a page they are getting, then you could put some code like the above in the procedure setup for the restricted page.
hth
chris