Modifying the hosts file requires a mac app to ask for the user's admin password every time which does not offer a good UX. Are there any other way to block internet (or just websites) access for a limited time on Mac Os X?