Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

CANEHDN

macrumors 6502a
Original poster
Dec 12, 2005
855
0
Eagle Mountain, UT
I am creating a website for our intranet. It allows employees to access pdf files. Different people have different privilages for each document. I am embedding the pdf files into html for them to view. Is it possible to access AdobeJS using regular JavaScript. I think this is the only way to limit who can print the file. Any help would be awesome. I'm getting a headache trying to figure this out.
 
CANEHDN said:
Specific people. Only some people are allowed print.

Hmm, well if everyone has their own usernames and passwords, I'm not sure how to do that. One thing you could try is using PDF generating software to make individual copies for each user, and then using the web server's security to control access to each file. Depending how complex the PDF files are, you might be able to generate them on-the-fly, by a CGI program.
 
Each user will have their own user name and password. The way it is set up is each document is a specific type of document. For example one document is the vehicle registration. I was planning on setting permissions for each user and each document type will have a permissions field that will specify what can be done with each document.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.