Warning: This is 3.0 Edition material. It is possible that there is more recent 3.5 Edition version.
Inaccurate?

Improved Arcane Lock

(Stronghold Builder's Guidebook)

Abjuration
Level: Sorcerer 3, Wizard 3,
Components: V, S, M,
Casting Time: 1 round
Range: Touch
Target: Door, chest, or portal touched, up to 30 sq. ft./level in size
Duration: Permanent
Saving Throw: None
Spell Resistance: No

This spell works identically to arcane lock, except that at the time of casting you may attune up to 1 individual per caster level to the object targeted by the spell.
These individuals (who need not be present during casting) can freely pass the improved arcane lock as if they had cast the spell.
Material Component: Gold dust worth 25 gp, plus 5 gp per individual attuned.