• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

PHP readonly

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Programming and More

View previous topic :: View next topic  
Author Message
Lyrico
Just Arrived
Just Arrived


Joined: 02 Aug 2010
Posts: 0
Location: Philippines

Offline

PostPosted: Fri Nov 26, 2010 2:48 am    Post subject: PHP readonly Reply with quote

Hi everyone.

Can you tell me how can i restrict the uploaded file to make it read only? I mean, for example, I uploaded a .pdf file on the server and i want that when the user access the file, it can open but they CANNOT save it in their local machine. Is that possible?

Please help me.

Thanks
Back to top
View user's profile Send private message Visit poster's website
krugger
SF Mod
SF Mod


Joined: 08 Jun 2006
Posts: 16777209


Offline

PostPosted: Fri Nov 26, 2010 4:29 pm    Post subject: Reply with quote

You are looking for PDF DRM. Have a look at:

http://www.locklizard.com/pdf_security_drm.htm

One of the various companies that sells suport for what you are trying to do.
Back to top
View user's profile Send private message
Lyrico
Just Arrived
Just Arrived


Joined: 02 Aug 2010
Posts: 0
Location: Philippines

Offline

PostPosted: Wed Dec 01, 2010 4:21 am    Post subject: Reply with quote

Krugger,

Thanks for the reply.

I want not only with the .pdf file. I have different file on my server. .xls, .doc, .ppt etc. I just want that, if the user access the file, they can open it for the review purposes by i don't want them to save the file on their local machine.

this is my sample codes:
<?php

echo "<a href='folder/sample.doc'>"."Sample 1"."</a>";
?>

now i want that when the user access the "sample.doc", they can view it but they are not able to save it.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Programming and More All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Looking for more Windows Networking info?

Sign up to the WindowsNetworking.com Monthly Newsletter, written by Enterprise Security MVP Deb Shinder, containing news, the hottest tips, Networking links of the month and much more. Subscribe today and don't miss a thing!
View a sample newsletter.

Become a WindowsNetworking.com member!

Discuss your Windows Networking issues with thousands of other Windows Newtorking experts. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred data recovery solution?

Follow TechGenix on Twitter