Yes it can. I have not tried it personally but it comes with software on the flash drive to do it. The item description also mentions it:
SanDisk SecureAccess software
Utilizes 128-bit AES encryption, allowing you to configure a password-protected private folder on the flash drive (software not compatible with Linux).