Create alias name for a file using htaccess

I want to replace my original file name in a folder with a alias via htaccess


my folder: http:// localhost/folder/foo.png

renamed address: http:// localhost/folder/bar.png

After that, I want to close the user's access to the original file i mean this path: "http:// localhost/folder/foo.png"