generate pre defined upload url with server side encription