NYCPHP Meetup

NYPHP.org

[nycphp-talk] Making text hard to copy

Brian O'Connor gatzby3jr at gmail.com
Fri Aug 6 22:59:57 EDT 2010


Well, you're pretty limited to javascript (unless you output to flash
or pdf), which obviously means anyone who disables it won't be
affected. However, as you already stated you're aware of that, one
thing that might be cool is to detect the ctrl+c keys being pushed,
and reversed the selected text. That requires access to the clipboard
(not always available), and disabling right click.

I don't really think about this problem too much, but might be an
interesting idea.



On 8/6/10, J. T. Gray <jtg at intarcorp.com> wrote:
> Output to Flash :D
>
>
>
> On Aug 6, 2010, at 9:50 PM, Anthony Papillion <papillion at gmail.com>
> wrote:
>
>> I'm starting to work on a system that will require a bit of extra
>> security. One of the security protocols the customer's decided on is
>> that the outputted page should be fairly hard to copy. Yes, I know
>> making an HTML page uncopyable is impossible but I want to make it
>> as hard as possible.
>>
>> So far, I've come up with the following possible solutions:
>>
>> - Put all the output on an image and disable right click
>> - Output a PDF
>>
>> Both of these solutions really feel nasty to me and don't really
>> solve the problem at all.  Does anyone have any other ideas?
>>
>> Thanks!
>> Anthony
>>
>> --
>> Anthony Papillion
>> Lead Developer / Owner
>> Advanced Data Concepts - "Enabling work anywhere"
>> (918) 533-9969
>>
>> Facebook: http://www.facebook.com/cajuntechie
>> My Blog:   http://www.cajuntechie.com
>>
>> _______________________________________________
>> New York PHP Users Group Community Talk Mailing List
>> http://lists.nyphp.org/mailman/listinfo/talk
>>
>> http://www.nyphp.org/Show-Participation
>

-- 
Sent from my mobile device

Brian O'Connor



More information about the talk mailing list