Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Creating a custom DRM web application

Hi Treehouse,

I am currently working on a final project for school and I am looking for any kind of advice or someone that could point me in the right direction. The main goal is to prevent people from sharing this content online. I am given a 500+ page word document that will be sold online and viewed online to the user . My first attempt was converting the document to a PDF and restricting access to printing, copying and pasting, and also adding a static password but didn't realize people can just pass the content to a friend with the password. I looked up a few sites that seems to be a web application for DRM and I think that is the proper solution.

Two sites that I came across that solve this issue very well are:

[http://www.safaribooksonline.com/] [http://www.coursesmart.com/]

My question to you guys:

  1. Do you know of any sites that protect their online content similar to the two above?

  2. If I created a login system for each user online is there an easy way I can restrict the users from copying/highlighting (using javascript) and sharing the content while viewing it online?

Any suggestions?



1 Answer

Using javascript as a stop-gap for DRM is close to pointless, as the user could just turn javascript off.

I'd suggest using a pdf, you're always going to have the issue with people passing data around... Unless your attempting at going for a full blown enterprise solution, I don't think it's too feasible.

Is it a requirement for your school?

How would I approach to build a full blown enterprise solution similar to the sites I listed above? Any ideas?