]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/forum/Apache_XBitHack.mdwn
response to response
[ikiwiki.git] / doc / forum / Apache_XBitHack.mdwn
index 5def2f817b6b0a79a5b4b99cc93df538e6119d7a..63d33287e43582f83cdd03d17a025e75c9e0a12f 100644 (file)
@@ -13,3 +13,8 @@ I gather from the [[security]] page that having the executable bit set on files
 > would result in a html page that can be run as an executable. So an
 > option that makes all files rendered from mdwn or other markups 
 > get the x bit set would be pretty safe even with untrusted editors. --[[Joey]] 
+
+>> So how about this: if something has a page-type (i.e. mdwn or whatever authorized page types there are)
+>> then add something at the end of the process (would that be the "changes" hook?)
+>> which sets the x bit on the generated page file.  Would that work?
+>> --[[KathrynAndersen]]