I agree with Rob.
If you display a text, any text, anyone can see your text and write it 
down in a text editor or on a piece of paper.
For a long string it may take too much, but for a short string it won't 
be a problem.

Plus, there are quite few simple (hacking) tools that can copy a the 
text from any window/control.


Devco wrote:
> Rob, I think your contribution "Impossible. Anyone can copy any text simply
> by typing it into Notepad."
> Was really not very well thought out.
>
> The question was not whether someone can use notepad to copy text to the
> clipboard. The question was whether the memo component used in a Delphi
> program can be
> controlled so that text displayed On it, cannot be copied to the clipboard.
>
> As strange as it may seem to you, access to notepad.exe and or any other
> standard windows/other vendor supplied application can easily be controlled 
> using policies and the registry. I develop systems that use the policies and
> the registry to do just that. So assuming that notepad is available and that
> the text in question is text that some has to type in, is really a poor
> assumption.
> The text that the developer wants to display could have been the results of
> database query or the contents of a Protected email for example. 
>
> Many people have contributed valid and well thought out practical solutions
> to this problem and it's actually quiet arrogant and insulting and
> to all these people to post a reply like you did. You owe everyone an
> apology.
>
> Wayne Devereux.
>  
>
>
>
>
> -----Original Message-----
> From: Rob Kennedy [mailto:[EMAIL PROTECTED] 
> Sent: 30 November 2008 20:09
> To: Delphi-Talk Discussion List
> Subject: Re: Abort memo copy in Delphi
>
> SoftTech wrote:
>   
>> Does anyone know of a way to allow a user to view the contents of a memo,
>> but not allow them to copy it?
>>     
>
>   
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

Reply via email to