Dimensional Lock

Magic of Faerûn (Mag)Updated Forgotten Realms (3.0)

Dimensional Lock is a D&D 3.5 spell (Abjuration) from Mag. On class lists for Cleric (Level 8), Sorcerer (Level 8), Wizard (Level 8), and others. Range or area: Medium (100 ft. + 10 ft./level); Saving throw: None; Duration: 1 day/level; Casting time: 1 standard action.

School
Abjuration
Casting Time
1 standard action
Components
V, S
Range
Medium (100 ft. + 10 ft./level)
Area
15 ft. radius emanation centered on a point in space
Duration
1 day/level
Saving Throw
None
Spell Resistance
Yes

You create a field that completely blocks bodily extradimensional travel.
Forms of movement barred include astral projection, blink,
dimension door, ethereal jaunt, etherealness, gate,maze, phasing,
plane shift, shadow walk, teleport, and similar spell-like or psionic abilities.
The dimensional lock does not interfere with the movement of creatures already in ethereal or astral form when the spell is cast, nor does it block extradimensional perception or attack forms such as a basilisk’s gaze.
Dimensional lock does not prevent summoned creatures from disappearing at the end of the summoning spell.
Once the spell is in place, however, extradimensional travel into or out of the affected area is not possible.