I can not allow my user to save a 6 GB video in the sqlite database.
Can I not really? Well all freedom to the user not? Should I protect the user from
himself? Where do I draw the border? 1 mb?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Show a warning to the user for files above certain size that it would have adverse performance effects. If the user ignores the warning, let them do it. Setting arbitrary hardcoded limits is never a good idea; there will always be that one vocal user that needs to save a slightly bigger than your limit file that will write an angry blog post how bad your app is.