anchor.diff:          Mime -> 
               {[{Mime, provide_content}], ReqData, State}
       end.
  +
  +
  +%% @doc Oversimplified stub for access checks.
  +forbidden(ReqData, State) ->
  +    case State#state.root of
  +        [{module, Module}] -> 
  +            Context = z_context:continue_session(z_context:new(ReqData, ?MODULE)),
  +            {Module:file_forbidden(State#state.fullpath, Context), ReqData, State};
  +        _ ->
  +            true
  +    end.
  +
   
   encodings_provided(ReqData, State) ->
       Encodings = case State#state.mime of
  
positive.code:         {ok, File} -> {true, File};
          {error, _} -> file_exists1(T, RelName, Context)
      end;
  file_exists1([DirName|T], RelName, Context) ->
      NamePath = filename:join([DirName,RelName]),
      case filelib:is_regular(NamePath) of 
  
negative.code:         is_media_preview=false,
          content_disposition=undefined,
          use_cache=false,
          acl=false,
          encode_data=false,
          fullpath=undefined,
          is_cached=false,
  