how to restriction directory size in solaris

how to restrict the size of any directory in solaris. is there any command to give specific file size value for a directory?
is there any idea?
regards

You can put that directory on it's own volume and mount it.
Otherwise I'd suggest looking into the quota tool.

thanks so much

Also ZFS with ( optionally reserve and ) quota.