You can do it on Windows 2000 by using NTFS security, where the user would have to login with an appropriate username and password to gain access to it, this includes local logins.
Windows 98 can't do this on local disks without third party support, but if it were to access Win2K over a network, it would be subject to the same NTFS security restrictions.