diff --git a/webv4/pages/001-forum.ssjs b/webv4/pages/001-forum.ssjs
index d45ccee38c32f604ebf32e7bbce9647f98e73137..154d6b685007b7326efa9c21f4f19f0b3f805356 100644
--- a/webv4/pages/001-forum.ssjs
+++ b/webv4/pages/001-forum.ssjs
@@ -145,6 +145,13 @@ if (typeof http_request.query.notice !== 'undefined') {
 	writeln(format(strings.notice_box, http_request.query.notice[0]));
 }
 
+if (typeof http_request.query.sub !== 'undefined' &&
+	typeof msg_area.sub[http_request.query.sub[0]] !== 'undefined' &&
+	!msg_area.sub[http_request.query.sub[0]].can_read
+) {
+	writeln('<div class="alert alert-danger">Sorry, you do not have access to the requested sub.</div>');
+}
+
 if (typeof http_request.query.sub !== 'undefined' &&
 	typeof msg_area.sub[http_request.query.sub[0]] !== 'undefined' &&
 	typeof http_request.query.thread !== 'undefined' &&