What determines if a downloaded file should be saved as read-only or read-write?
问题 When you write some binary data in the http response stream (of Servlet etc) or using the Content-disposition header, what is the factor that determines whether the downloaded file is saved as readonly or has write permissions ? How can we control whether to make it read-only or not? Is that browser/OS dependant? 回答1: The only specified parameters for the Content-Disposition header field are filename , creation-date , modification-date , read-date , and size . You may use custom parameters