403.html
HTML document, ASCII text
1{% extends "error.html" %} 2 3{% set error = "Forbidden" %} 4{% set error_code = 403 %} 5 6{% block error_content %} 7{% if request.method != "GET" %} 8<p> 9You're not allowed to access this resource. In fact, you shouldn't have been able to see this page at all. 10Our app isn't made in JS, did you think you could just bypass security by forcing the submit button to appear?<br> 11However, you <em>can</em> access this random and unrelated picture. Try bribing the subject of it for access, 12there may be a nonzero chance it will let you in. 13</p> 14<div style="padding: 1rem; display: flex; flex-direction: column; align-items: center;"> 15Try our bribe service, in case you've logged in but can't access the resource, putting you in depression: 16<a class="button" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">Attempt to bribe the cat/dog/flower/rubbish/sun/[insert object here] for access</a> 17(bribe service requires JavaScript, cookies and sending your data to Google, which actually wants it, unlike us) 18</div> 19{% else %} 20<p> 21You're not allowed to access this resource. If you're authenticated, you may not have the right permissions. 22However, you <em>can</em> access this random and unrelated picture. 23</p> 24{% endif %} 25<p> 26<a href="/">Home page</a> 27</p> 28<p> 29<a href="/picture/{{ random_picture.id }}/">Like what you see?</a> 30</p> 31{% endblock %} 32