In the early stages of The Diary of Anne Frank, we see the Frank family, as a Jewish family living in Amsterdam on the eve of World War II, subjected to an ever-growing list of restrictions as to what they could and could not do.
They were only allowed to do their shopping at certain times, and strict curfews applied. As of 1941, Anne and her sister had to attend a school exclusively for Jewish children. Later, a new law was introduced, compelling all Jews to wear a yellow star to identify themselves. In her diary, Anne explains that Jews weren't allowed to ride in cars, own bicycles, attend the theatre, or use any public sporting facilities.
In 1942, the Frank family entered the secret annex. Here, their freedom was dramatically curtailed. Due to the fact that the annex was located upstairs from a business, they could not make any noise whatsoever during the day, lest they be discovered. This meant talking in whispers, not flushing the toilet, and keeping all windows covered.