Article

coolguys's picture
article
Reads:

3530

Score:
3
3
2
 
Comments:

0

Disabling Attachments in WebAccess

Author Info

5 February 2008 - 9:44am
Submitted by: coolguys

(View Disclaimer)

Problem

A Forum reader recently asked:

"We have currently disabled the possibility for users to send attachments in WebAccess. Now we are going to upgrade to webaccess gw702HP1a. Where and how do we prevent users from sending attachments in that version of WebAccess?"

And here is the response from Gunnar Flygt ...

Solution

It's quite simple (when you know where to look). My system is Linux, but you should be able to find a similar place in the OS you are running.

1. In the /var/opt/novell/gw/WEB-INF/classes/com/novell/webaccess/templates/css/send.inc file you comment out this part:

<td></td>
 <td class="tab_inactive" id="idAttachTab">
   <div class="wrap1"><div class="wrap2"><div class="wrap3">
     <a class="text" href="#" id="idAttachLink">{STRING
Compose.Button.Text.attach}</a>
   </div></div></div>
</td>

2. Make a section that looks like this:

<!--td></td>
 <td class="tab_inactive" id="idAttachTab">
   <div class="wrap1"><div class="wrap2"><div class="wrap3">
     <a class="text" href="#" id="idAttachLink">{STRING
Compose.Button.Text.attach}</a>
   </div></div></div>
</td-->

Note that the line starting with "<a" is on the same line as the ending "</a>"

3. Restart Tomcat and Apache, and the attachment possibility is gone.


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell