Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preventing Users from Right Clicking in OWA 2007

Status
Not open for further replies.

acabezas7

MIS
Mar 5, 2007
71
US
Is there anyway to prevent users using OWA from copy information or text from an email message. I know how to prevent users from being able to download certain attachments but I want to prevent them from being able to copy messages within the body of an email. I know how to do this on a webpages you create yourself example below:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script language="javascript">
function whichButton(event)
{
if (event.button==2)//RIGHT CLICK
{
alert("Not Allow Right Click!");
}

}
function noCTRL(e)
{
var code = (document.all) ? event.keyCode:e.which;

var msg = "Sorry, this functionality is disabled.";
if (parseInt(code)==17) //CTRL
{
alert(msg);
window.event.returnValue = false;
}
}
</script>
</head>
<body>
<form method="">
<strong>Not Allow Paste </strong><BR>
<input type="text" value="" onMouseDown="whichButton(event)" onKeyDown="return noCTRL(event)"/>
</form>
</body>
</html>

But now how would I adapt this same code to OWA site. Any help would be greatly appreciated. Thanks
 
That method is EASILY circumvented.

You can't prevent them from copying. They can still CTRL+C and then CTRL+V. There is little need for right click. Additionally, any update rollup and/or service pack will undo your changes.

Pat Richard MVP
Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
 
Hi 58sniper

Thanks for the reply. The reason why I am trying to accomplish this is because the company I work for is an healthcare company and all employees have access to email from home via OWA. Just recently our company has had to adhere to HIPAA rules "Health Insurance Portability and Accountability Act" I don't know how familiar you are with them but basically they protect patient healthcare privacy. Now the I am facing is that we have to disable OWA for all users in the company and my helpdesk staff have been getting a lot of calls from users about not being able to access their emails from home. Now I know how to disable users from being able to download attachments from OWA by modifying the direct file access file type list. But i also am trying to find out a way to prevent users from being able to copy content/information within messages in the body or their emails. I just dont want them copying the information and pasting it into WORD or some other kind of program. If you have any ideas it would be greatly appreciated. Thanks
 
I understand HIPPA well. First, you need a compliance solution put into place. That would include something like 3rd party archiving of email with an appropriate retention policy. Next, you should have some transport rules in place to prevent data like Social Security numbers from being sent in email. That's simple enough.

Stopying them from copying and pasting isn't going to stop them from sending data that would violate HIPAA. User education and tracking can help catch it when it happens.

Pat Richard MVP
Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top