From one interface to another the only way is to filter using an ACL and then only on UDP port 161 or 162 (snmp or snmptrap keywords). You can't filter the traffic dependent on the community string within an ACL.
You could also filter traffic using a class-map, but then again, the only thing you can do is filter all SNMP traffic. For example:
sec-3640#conf t
Enter configuration commands, one per line. End with CNTL/Z.
sec-3640(config)#class-map openforum
sec-3640(config-cmap)#match protocol snmp ?
sec-3640(config)#class-map openforum
As you can see, there's no other options under the SNMP protocol to filter on anything else.