Lock datafolder?


Does anyone know if it is possible to lock a datafolder so that a user doesn't delete it by mistake? The only method that I know of is to create a wave in the datafolder to protect, and then lock the wave (using SetWaveLock). This seems a little clumsy though...