Means for preventing undesired reading or writing from or onto record carriers