Permissions for users accessing website via LAN (Django)
===

I am stuck on this problem. 
The Idea is to allow users accessing my website through the LAN or local network to skip a login page and access the website as an anonymous user with special permissions. (I am running an ubuntu server with apache2 and mod_wsgi). Does anyone know if there is a way for apache to determine if a user is accessing the website via LAN? I am open to all suggestions as I currently have no idea how to solve this problem.

Thanks.